timezoneJS.Date object gives you full-blown timezone support, independent from the timezone set on the end-user's machine running the browser. It uses the Olson zoneinfo files for its timezone data.
timezoneJS.Date also has named properties that store the values of year, month, date, etc., so it can be directly serialized to JSON and used for data transfer.
This section shows the most common way of setting up timezone-js. In the 'Customizing' section below you can find alternative approaches.
First you'll need to include the code on your page. Both
timezoneJS.Date, and the supporting code it needs in
timezoneJS.timezone are bundled in the
date.js file in