source: branches/version-2/data/module/Calendar/docs/examples/9.php @ 17143

Revision 17143, 366 bytes checked in by adachi, 16 years ago (diff)

calendar bloc by Yammy (merge r17073, r17076, r17087, r17091)

Line 
1<?php
2/**
3* Description: simple example on i18N
4*/
5if ( !@include 'Calendar/Calendar.php' ) {
6    define('CALENDAR_ROOT','../../');
7}
8require_once CALENDAR_ROOT.'Day.php';
9
10$Day = & new Calendar_Day(2003,10,23);
11
12setlocale (LC_TIME, "de_DE"); // Unix based (probably)
13// setlocale (LC_TIME, "ge"); // Windows
14
15echo ( strftime('%A %d %B %Y',$Day->getTimeStamp()));
16?>
Note: See TracBrowser for help on using the repository browser.