function updateTimers()
{
//Get the current timestamp
now = new Date();
//Iterate through each of the timers
for(i=0; i<timers.length; i++)
{
//Convert end time to timestamp & calc difference
endTime = new Date(timers[i].split(' ').join('T'));
millisecondsDiff = endTime - now;
//Format the diff and display
timeDisplay = formatTimeDiff(millisecondsDiff);
document.getElementById('timer['+i+']').innerHTML = timeDisplay;
}
}
I'm using the above function to set timers for a page on my website. It should be showing 23 minutes but is showing 83 minutes. This has only come about since the clocks in the UK went forward. Ant help?