Login   Register  
PHP Classes
elePHPant
Icontem

unixDate: Manipulate dates using the UNIX date command

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  
2008-06-21 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 280 All time: 6,741 This week: 1,479Up
Version License PHP version Categories  
unixdate 1.0Freeware5.0PHP 5, Time and Date, Unix
Description Author  

This class can be used to manipulate dates using the UNIX date command.

It can take a given date and format it calling the UNIX shell date command.

The class can pass parameters to the date command to add or subtract
years, months, days, hours, minutes and seconds.

Innovation Award  
PHP Programming Innovation award nominee
July 2008
Number 14
PHP provides a broad range of functions to manipulate dates and times.

The UNIX date command provides a more user friendly way to add and remove periods of time to a date.

This class takes advantage of the UNIX date command features to provide an alternative solution in PHP.

Manuel Lemos
Picture of Carl Friis-Hansen
Name: Carl Friis-Hansen <contact>
Classes: 5 packages by
Country: Denmark Denmark
Age: ???
All time rank: 10019 in Denmark Denmark
Week rank: 846 Up4 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file class.unixDate.php Class The class
Accessible without login Plain text file checkDate.php Example Web page to check class
Accessible without login Plain text file testDate.php Example Command line script to test class

 Version Control Unique User Downloads Download Rankings  
 0%Total:280All time:6,741
 This week:0This week:1,479Up