[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 <?php 2 3 // exclude timezone from timestamp 4 $timestamp = 1077552775; 5 6 $localTimestamp = mktime ( 16, 12, 55, 2, 2, 2004 ); 7 $gmTimestamp = gmmktime ( 16, 12, 55, 2, 2, 2004 ); 8 $timezone = $gmTimestamp - $localTimestamp; 9 10 $timestamp -= $timezone; 11 12 $tpl->setVariable( 'timestamp', "$timestamp" ); 13 14 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |