Revision 20119,
367 bytes
checked in by nanasess, 13 years ago
(diff) |
module 以下は svn:keywords を除外
|
-
Property svn:eol-style set to
LF
-
Property svn:mime-type set to
text/x-httpd-php; charset=UTF-8
|
Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * Description: simple example on i18N |
---|
4 | */ |
---|
5 | if ( !@include 'Calendar/Calendar.php' ) { |
---|
6 | define('CALENDAR_ROOT','../../'); |
---|
7 | } |
---|
8 | require_once CALENDAR_ROOT.'Day.php'; |
---|
9 | |
---|
10 | $Day = & new Calendar_Day(2003,10,23); |
---|
11 | |
---|
12 | setlocale (LC_TIME, "de_DE"); // Unix based (probably) |
---|
13 | // setlocale (LC_TIME, "ge"); // Windows |
---|
14 | |
---|
15 | echo ( strftime('%A %d %B %Y',$Day->getTimeStamp())); |
---|
16 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.