User Tools

Site Tools


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();
timestamp_class.1572502351.txt.gz ยท Last modified: 2019/10/31 06:12 by sahl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki