PHP Classes
elePHPant
Icontem

PHP Date Math Class: Perform operations with dates with long year range

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-12-31 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 356 All time: 6,773 This week: 346Up
Version License PHP version Categories
date-math 1GNU General Publi...5PHP 5, Time and Date
Description Author

This class can perform operations with dates with long year range.

It can perform several operations with dates that can be outside the range of 1970 and 2038.

Currently it can add a period to a date, calculate the age relatively to a given birth date, check if a date is valid, convert a date to the Julian calendar, get the date day of the month, week or year, calculate the difference between two dates, get the first day or the end day of the current, prior or next week, month, or year, compare dates and get the latest, etc..

Recommendations

datetime difference
calculate datetime difference

  Performance   Level  
Name: Bob Wedwick <contact>
Classes: 4 packages by
Country: United States United States
Age: 77
All time rank: 2075267 in United States United States
Week rank: 341 Up31 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

 

  Files folder image Files  
File Role Description
Plain text file DateMathClassA.php Class Date Math Class and Documentation
Accessible without login Plain text file Date_Math_ClassA.php.pseudo Doc. Date Math Class Test
Accessible without login Plain text file Date_Math_Class_Samples.txt Output Date Math Class Test
Accessible without login Plain text file Date_Math_Class_TestA.php Example Date Math Class Test
Accessible without login HTML file index.html Doc. Date Math Class Test

 Version Control Unique User Downloads Download Rankings  
 0%
Total:356
This week:0
All time:6,773
This week:346Up