Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-12-31 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,040 All time: 3,310 This week: 1,550Up
Version License Categories  
format_timestamp 1.0GNU General Public Lice...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
Name: Olaf Lederer is available for providing paid consulting. Contact Olaf Lederer .
Classes: 10 packages by
Country: The Netherlands The Netherlands
Age: 43
All time rank: 41 in The Netherlands The Netherlands
Week rank: 76 Down3 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 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  
 0%Total:1,040All time:3,310
 This week:0This week:1,550Up