A.7. Date and Time
Repository: - License: PHP -
A package for building Calendar data structures (irrespective of output)
Calendar provides an API for building Calendar data structures. Using the simple iterator and it's "query" API, a user interface can easily be built on top of the calendar data structure, at the same time easily connecting it to some kind of underlying data store, where "event" information is being held.
It provides different calculation "engines" the default being based on Unix timestamps (offering fastest performance) with an alternative using PEAR::Date which extends the calendar past the limitations of Unix timestamps. Other engines should be implementable for other types of calendar (e.g. a Chinese Calendar based on lunar cycles).
Repository: PEAR - License: PHP License - By Baba Buehler (lead) - Monte Ohrt (lead) - Pierre-Alain Joye (lead) - Alan Knowles (developer)
Date and Time Zone Classes
Generic classes for representation and manipulation of dates, times and time zones without the need of timestamps, which is a huge limitation for php programs. Includes time zone data, time zone conversions and many date/time conversions. It does not rely on 32-bit system date stamps, so you can display calendars and compare dates that date pre 1970 and post 2038. This package also provides a class to convert date strings between Gregorian and Human calendar formats.
Repository: PECL - License: PHP - By Pierre-Alain Joye (lead)
Date and Time Library
Date is a collection of functions and classes to deal with dates. Support for date outside the UNIX date limitations. It provides a lot of convenience functions/methods.