Section A.7. Date and Time

A.7. Date and Time

A.7.1. Calendar

Repository: - License: PHP -

A package for building Calendar data structures (irrespective of output)

A.7.1.1 Description

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

A.7.2. Date

Repository: PEAR - License: PHP License - By Baba Buehler (lead) - Monte Ohrt (lead) - Pierre-Alain Joye (lead) - Alan Knowles (developer)

Date and Time Zone Classes

A.7.2.1 Description

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.

A.7.3. date_time

Repository: PECL - License: PHP - By Pierre-Alain Joye (lead)

Date and Time Library

A.7.3.1 Description

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.

    PHP 5 Power Programming
    PHP 5 Power Programming
    ISBN: 013147149X
    EAN: 2147483647
    Year: 2003
    Pages: 240

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: