Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 460 Bytes
title signature
Browser
<script src="moment.js"></script> <script src="moment-timezone-with-data.js"></script>

When using Moment Timezone in the browser, you will need to load the data as well as the library.

You can either use the prebuilt library and data files linked on the homepage or build a subset of the data yourself and load it.

moment().tz("America/Los_Angeles").format();