i am working on a clock and i cant seem to get the time right.
Hosting in another timezone, a site with a clock
i would have the clock run my GMT time for my visitors
thougt i’d solve the problem using the following code:
myDate = new Date();
timeTextField = ((myDate.getHours()-2) + “:” + myDate.getMinutes() + “:” + myDate.getSeconds());
play();
but it seems it will just deduct two units of my time so 01:00 will give a fail…
any suggestions?