I was looking for a similar issue here at Stackoverflow javascript multiple date display related, but couldn’t find what I want.
Here this code: demo javascript date
I was trying to make the date based on different time zones for different cities. For example, I want to show the current date for New York in a div in this format:
Monday, January 30, 2012
..and another city like London in a different div in the same format:
Monday, January 30, 2012
If the day changes, then the date changes as well. Is there a way how to add GMT time to each city so that I can have as many cities as possible to display?
If there is a better way and a lot simpler using JQuery for example, it would be a lot better since it is easy to play around with that tool.
you can use javascript as follow:
Convert the local time to another time zone with this JavaScript