Package-Tools-Timehandling PHP

Page créée le 06 février 2009 à 22h47 par François Direz print pdf


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

Dernière modification le 20 février 2009 à 17h45