From: Nebojša Ćirić [[email protected]]

> That's correct. We may need reverse too - for given UTC epoch milliseconds 
> (or minutes after UTC Date) tell me what the date components would be in a 
> given timezone.

Hmm, so:

```js
var date = new Date(utcMilliseconds);

var monthInNewYork = date.getMonth("America/New_York");
var monthInParis = date.getMonth("Europe/Paris");
```

? And I guess then `date.getUTCMonth()` is just an alias for 
`date.getMonth("Etc./UTC")`. Seems good!!

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to