I've spent a lot of time searching the net in order to find a library that can be used as a replacement for the php strtotime() functions. I was looking for something that would at least allow me to convert dates like 2 Jan 2039 to a timestamp. My closest find was the ADODB Date library, which can be used to replace the other date functions (like mktime, etc) but not strtotime. As a result of this, I've decided to create me own little Date class library as a first start.
The PHP Date Library is collection of professional native PHP functions to work with dates. It does not require any PHP extensions. This library includes most useful functions to work with dates. It includes functions to validate the date, shift date by given amount of days, calculate difference between two dates, calculate week number for given date and much more.
It properly handles leap years and is ISO compatible.
Professional programmer has spent 3+ days to study the subject, code the library, write manual and put it all here. Now the PHP Date Library is available for price less than one hour rate.
PHP native date functions use integer timestamps for computations. Because of this, dates are restricted to the years 1901-2038 on Unix and 1970-2038 on Windows due to integer overflow for dates beyond those years. This library overcomes these limitations by replacing the native function's signed integers (normally 32-bits) with PHP floating point numbers (normally 64-bits).
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.