PHP Classes

Date Util: Format and manipulate dates in several ways

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 915 All time: 3,877 This week: 181Up
Version License PHP version Categories
dateutil 1.0Freeware5.0PHP 5, Time and Date


This class can be used to format and manipulate dates in several ways. It can:

- Return a date in a given format
- Validate a date string
- Retrieve the current date in a given time zone
- Compute the difference of days between two dates
- Add a given number of days, months or years to a date
- Determine the day of the week of a given date
- Compute the Unix timestamp for a given date

Picture of Gurdeep Singh
Name: Gurdeep Singh <contact>
Classes: 5 packages by
Country: India India
Age: ???
All time rank: 38622 in India India
Week rank: 530 Down36 in India India Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file DateUtil.php Class Perform various date related task
Accessible without login Plain text file testScript.php Example this is the example script to test the DateUtil class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,877
This week:181Up