Object description

Represents and manipulates dates and times.

Date formatting uses the system timezone by default. Use set_timezone() with an IANA timezone string or a Date::TIMEZONE_* constant to select the timezone explicitly.

Object functions