I am trying to create two clocks on a website that says two times on it. One from London and the other from New York.
I have been able to create a clock that reads t
currentTime.getTimezoneOffset() will give you the time difference between Greenwich Mean Time (GMT) and local time, in minutes.
currentTime.getTimezoneOffset()
You can use the value to calculate time in required timezone.