Package-Tools-Timehandling PHP
This scirpt adds functions, pagevariables and markup exressions for time handling.
## FUNCTIONS
// * UT2TimeFmt( $unixtime [, $format] )
// * StringToTime( $string )
## MARKUP EXPRESSIONS
// * {(ut2timefmt unixtime [ format ]
// * {(strtotime
## PAGE VARIABLES
// * {$time}
// * {$timecreated}
// * {$timelastmodified}
Markup Expressions
{(ut2timefmt 'unixtime' [ fmt ] )}
PHP:strtotime, Date input formats
{(strtotime '06/10/2008 -1 day')}
|
1212962400 |
{(strtotime 'string' )}
{(strtotime '22-12-2007' )}
|
1198278000 |
Page Variables
| {$timecreated} | 1233956839 |
| {$timelastmodified} | 1235148356 |
| {$time} | 1292082219 |
categories_links:
categories_links_group:
