Format timestamp: Convert date and time between UNIX and ISO formats

Recommend this page to a friend!
  Info   View files (3)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,053 All time: 3,476 This week: 298
Version License Categories
format_timestamp 1.0GNU General Publi...Time and Date
Description Author

This class is meant to perform the conversion of formats date and time between the Unix timestamp values and the ISO format used by MySQL and other databases.

The goal is to simplify the manipulation of date and time values that are used in calculations and later are stored in database fields.

With this class is it possible to convert a date and time field into a (ISO or UNIX) timestamp and vice-versa.

The class tests whether the date and time values are valid before converting.

Picture of Olaf Lederer
  Performance   Level  
Name: Olaf Lederer is available for providing paid consulting. Contact Olaf Lederer .
Classes: 10 packages by
Country: The Netherlands The Netherlands
Age: 49
All time rank: 41 in The Netherlands The Netherlands
Week rank: 80 3 in The Netherlands The Netherlands
Innovation award
Innovation award
Nominee: 1x

File Role Description
format_timestamp_class.php Class The class file
format_timestamp_example.php Example Example of using/testing
gpl.txt Lic. GPL license

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,476
This week:298

For more information send a message to info at phpclasses dot org.