PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2004-12-31 (15 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,052 All time: 3,477 This week: 370Up
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.

  Performance   Level  
Name: Olaf Lederer <contact>
Classes: 10 packages by
Country: The Netherlands The Netherlands
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,052
This week:0
All time:3,477
This week:370Up