Projects / phpDateTime

phpDateTime

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
Licenses
Operating Systems
Implementation
Translations

Recent releases

  •  21 Apr 2005 16:07

    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.

    •  02 Mar 2005 14:14

      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.

      •  26 May 2004 12:11

        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().

        •  25 May 2004 17:30

          Release Notes: In Time.class.php, the 'public' keyword was removed.

          •  25 May 2004 17:29

            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().

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.