Login   Register  
PHP Classes

SQL Time: Converts time values between SQL and UNIX 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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-06-22 (7 years ago) RSS 2.0 feedStarStar 26%Total: 740 All time: 4,156 This week: 1,479Up
Version License PHP version Categories  
sqltime 1.0GNU General Public Lice...5.0Time and Date, Databases, Unix
Description Author  

This is a simple class that converts date and time values between the ISO format (YYYY-MM-DD hh:mm:ss) used by SQL databases (DATE, TIME, DATETIME) and timestamps used in Unix systems.

The class converts ISO date and time strings guessing their type according to the string length.

Picture of Michal Vrchota
Name: Michal Vrchota <contact>
Classes: 6 packages by
Country: Czech Republic Czech Republic
Age: 28
All time rank: 4586 in Czech Republic Czech Republic
Week rank: 377 Up4 in Czech Republic Czech Republic Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file SQLTime Class SQLTime class
Accessible without login HTML file SQLTime.html Doc. PHPDoc SQLTime

 Version Control Unique User Downloads Download Rankings  
 0%Total:740All time:4,156
 This week:0This week:1,479Up
 User Ratings  
 All time