PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,055 All time: 3,510 This week: 660Up
Version License Categories
format_timestamp 1.0GNU General Publi...Time and Date


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: 11 packages by
Country: The Netherlands The Netherlands
Age: 53
All time rank: 41 in The Netherlands The Netherlands
Week rank: 307 Down8 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file format_timestamp_class.php Class The class file
Accessible without login Plain text file format_timestamp_example.php Example Example of using/testing
Accessible without login Plain text file gpl.txt Lic. GPL license

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,510
This week:660Up