Location: PHPKode > scripts > Timestamp classes > timestamp-classes/example.php
<?php
/*
 * Example script for Timestamp class
 * 
 * @author Eugene Panin <hide@address.com>
 * @home   http://www.tortuga.pp.ru
 */
$ts = new Timestamp;
$ts->setLocalGMTShift(3);
$ts->setRemoteGMTShift(-8);

echo $ts->getValue("%e %b %y,%H:%M");
?>
Return current item: Timestamp classes