Changeset 3123 for branches/2.0/include/functions.inc.php
- Timestamp:
- Feb 4, 2009, 3:42:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/functions.inc.php
r3118 r3123 570 570 571 571 // format_date returns a formatted date for display. The date given in 572 // argument can be a unixdate (number of seconds since the 01.01.1970) or an 573 // american format (2003-09-15). By option, you can show the time. The 574 // output is internationalized. 572 // argument must be an american format (2003-09-15). By option, you can show the time. 573 // The output is internationalized. 575 574 // 576 // format_date( "2003-09-15", 'us',true ) -> "Monday 15 September 2003 21:52"577 function format_date($date, $ type = 'us', $show_time = false)575 // format_date( "2003-09-15", true ) -> "Monday 15 September 2003 21:52" 576 function format_date($date, $show_time = false) 578 577 { 579 578 global $lang;
Note: See TracChangeset
for help on using the changeset viewer.