There is the following string - "2013-10-23 11:56:29" and timezone name "Europe/Moscow". I hoped to parse it into Date using Date.parse() or new Date(string), but it doesn't work. How can I do it? Thanks.
Asked
Active
Viewed 78 times
2 Answers
0
Use moment.js (http://momentjs.com/docs/#/parsing/string/) and moment timezone (http://momentjs.com/timezone/docs/) for the timezone.

pax162
- 4,735
- 2
- 22
- 28
-
How to get Timezone offset by timezone string? For example by "europe/moscow"? – malcoauri Oct 27 '13 at 20:51