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
You can add or subtract hours from your date with
currentTime.setHours(currentTime.getHours()+offset);
where offset is any number of hours.
I updated the jsfiddle with that line and the function so that it accepts a parameter for the offset. This is not the UTC offset, just how many hours to add from the system time. You can get the current UTC offset by currentTime.getTimezoneOffset()/60
Demo