PHP Classes

unixDate: Manipulate dates using the UNIX date command

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: 284 All time: 7,564 This week: 140Up
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: 10389 in Denmark Denmark
Week rank: 180 Up2 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

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

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:284
This week:0
All time:7,564
This week:140Up