|Info||View files (1)||Download .zip||Reputation||Support forum (1)||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2005-04-18 (9 years ago)||Not enough user ratings||Total: 943||All time: 3,499 This week: 1,583|
|calc_date_diff 1.0||GNU General Public Lice...||Time and Date|
This is a simple class that performs basic arithmetic calculations with dates.
It can add or subtract an amount of days to a given date.
It can also calculate the difference of days between two dates, returning fractions of days as result. Use the round() or floor() to eliminate fractions.
It uses the strtotime() function to convert the dates into 32 bit integer timestamp values to perform the calculations. Therefore, the class is limited to dates that start on 1970-01-01.
|c_date.php||Class||Date calculations: diff, add days and subtract days from to dates|
|Version Control||Unique User Downloads||Download Rankings|
|This week:||0||This week:||1,583|