phpDateTime provides classes for Date, Time, Datetime, and Timespan, with handling, formating, converting, and calculating, using ISO, DIN, AMI, UK, Unix-Timestamp, MySQL-DateTime, and MySQL-Timestamp.
|Tags||Database Software Development Libraries php classes|
|Operating Systems||OS Independent|
Release Notes: A parameter from Date::getAsDin() was replaced, resulting in an incompatible change in the API. Several bugs were fixed in all classes and documentation. DateTime::getAsTs(), Timespan::getAsString(), and Timespan::getAsSeconds() were added. Date::getAsDin(), Date::getAsAmi(), and Date::getAsTs() were made statically callable.
Release Notes: Many fixes were made in all four classes. The Timespan class was finished, and now supports hours, minutes, and seconds. Many methods are now static. New methods include Date::getLastWeek(), Date::getNextWeek(), Date::getWeekYear(), Date::setFromUnixTimestamp(), Date::getDayNameAbbr(), Date::getWeekDate(), Date::getStartOfWeek(), Date::getEndOfWeek(), Date::getNextDay(), and Date::getPrevDay(). Source documentation was added.
Release Notes: Some missing public and protected keywords were added. In Time.class.php akk Time::get*() and Time::is*() calls were made static. MySQL Timestamp detection was fixed in DateTime::set().
Release Notes: In Time.class.php, the 'public' keyword was removed.
Release Notes: In Time.class.php, Time::get*() and Time::is*() were made static. In Date.class.php, a clone statement was removed and MySQL-Timestamp-detection was fixed in DateTime::set().