timestamp_class
This is an old revision of the document!
Timestamp class
The timestamp provides an abstraction on top of PHP date functions, providing easier function and handling of time zones.
$timestamp = new Timestamp('now'); $timestamp->add(0,0,1); echo 'In one hour the time is: '.$timestamp->getReadable();
Setting the timezone
Call Timestamp::setDisplayTimeZone($timezone)
with a valid PHP timezone identifier to select which timezone should be used when displaying dates and times in the system.
timestamp_class.1576102538.txt.gz ยท Last modified: 2019/12/11 22:15 by sahl