PHP Classes
elePHPant
Icontem

unixDate: Manipulate dates using the UNIX date command

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
2008-06-21 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 281 All time: 7,147 This week: 915Up
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
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:281
This week:0
All time:7,147
This week:915Up