0

is there any way how to get London time in javascript no matter of local timezone offset? Futhermore I need to be able to work with a result in same way as Date() object.

I am able to get London time as a string with moment/moment-timezone (e.g. "2018-01-26T17:59:00Z"). Putting result to new Date() function leads to having a local time:

new Date(moment().tz('Europe/London').format())
// results getting my local time, instead I need to get London time
exoslav
  • 2,094
  • 3
  • 21
  • 26

0 Answers0