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 Database Software Development Libraries php classes
Licenses LGPL
Operating Systems OS Independent
Implementation PHP
Translations English

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  21 Apr 2005 09:07
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  02 Mar 2005 06:14
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  26 May 2004 05:11
  • Rrelease-after

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

  • Rrelease-mid
  •  25 May 2004 10:30
  • Rrelease-after

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

  • Rrelease-mid
  •  25 May 2004 10:29
  • Rrelease-after

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

No-screenshot

Project Spotlight

abcMIDI

ABC MIDI conversion utilities.

Dc535506b614020994c937c490c23fcf_thumb

Project Spotlight

Citizen Intelligence Agency

A project to increase the surveillance of Swedish parliament members.