PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 284 All time: 7,561 This week: 140Up
Version License PHP version Categories
unixdate 1.0Freeware5.0PHP 5, Time and Date, Unix


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: 10379 in Denmark Denmark
Week rank: 286 Up1 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  
This week:0
All time:7,561
This week:140Up