Click to See Complete Forum and Search --> : Help please


michael
04-10-2003, 03:10 PM
I have a small script on my home page that shows the current day and time depending on the users PC clock.
I am in the UK and it is now British Summer Time (BST) here.
The time on my home page is showing the old time (1 hr behind) when my PC clock is showing BST.

Could someone tell me how I would get the script to display the time as it is on a visitors PC.
Thanks.

My site is at www.gwytherwebdesign.co.uk

Jona
04-10-2003, 03:16 PM
Can you post the code? That site won't open. I can't get it to come up.

jeffmott
04-10-2003, 03:17 PM
You'll want to change toGMTString() to toString(). Likewise with any other occurances of using GM time.

jeffmott
04-10-2003, 03:19 PM
We need to stop posting at the same time, Jona. ;)

Jona
04-10-2003, 03:20 PM
Heh... Yeah... :p

michael
04-10-2003, 03:22 PM
Sorry I edited the home page just after posting the original message, that's why it probably didn't open for you.
Try again it should work now.

www.gwytherwebdesign.co.uk