Timezone-aware date manipulation for JavaScript.
This is a toolkit for working with dates and timezones.
JavaScript provides Date as a standard built-in object. It represents the date as the number of milliseconds since 1 January 1970 UTC, and provides methods to manipulate the date in the local and UTC timezones.
This library provides two things:
The
IANA timezone database
has been made available in JSON format by
a second project jetblack-tzdata.
This allows the timezone data to be accessed statically, or dynamically through
an HTTP GET (e.g. with fetch
).
See Getting Started
Generated using TypeDoc