PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,055 All time: 3,511 This week: 660Up
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: 11 packages by
Country: The Netherlands The Netherlands
Age: 53
All time rank: 41 in The Netherlands The Netherlands
Week rank: 192 Down6 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,055
This week:0
All time:3,511
This week:660Up