This is a class I use to create and manipulate UNIX time stamps. All the functions created so far I have written out of necessity so this is in no way a full-fledged extension of PHP’s DateTime object. This class offers a number of simple ways to get from one time stamp to another. Great for calendars and other date related applications.
$my_offset = -400; $my_time = $getTIME->clientTime($my_offset);
The above variable $my_time will be a UNIX time stamp reflecting my date and time right now in relation to Universal Time (UTC).
- Create local and universal time stamps
- Get times offset from UTC time
- Render day, week and month related time stamps from any other time stamp
The current version of this software is 2.0.
- PHP 4.0+