> it will display the date when "new Date()" has been invoked. So if you > put it in an onClick handler, it will display the date when the button > has been clicked. Hi Satou, thanks for your response.
The reason I asked is because I have a web application that has 3 pages. In first page, I need to display the time based on Pacific timezone. In the second page, I need to display current time based on Central timezone. And in the third page, I need to display the time based on Eastern timezone.
What I need to do is to make sure that wherever a user is (central/ pacific/ eastern), they will see the correct time on each page.
For example: Let's say now 10 AM Central Time then user should see this no matter where they at in USA: 1st page --> 8 AM Pacific Time. 2nd page --> 10 AM Central Time. 3rd page --> 11 AM Eastern Time.