Hi,
I have to pass several timestamps into a flash presentation for different locations around the world. I am able to do this fine for the UK,Tokyo & Sydney as I dont think they are effected by daylight saving. However I have to do this for New York I have to think about Daylight saving.
I am using a UK time local on our server.
This is my code so far but it is not working out the daylight saving.
$timestamp_uk = explode(" ",microtime());
$timestamp_uk = round(($timestamp_uk[1] + $timestamp_uk[0])*1000); // GMT server Timestamp in milliseconds
$timestamp_ny = $timestamp_uk -(1000*60*60*5); // set a (your local) time zone offset for each
$timestamp_tk = $timestamp_uk +(1000*60*60*9);
$timestamp_sy = $timestamp_uk +(1000*60*60*11);
Can anybody help or does anybody have an effective solution for this issue.
JimFl
I have to pass several timestamps into a flash presentation for different locations around the world. I am able to do this fine for the UK,Tokyo & Sydney as I dont think they are effected by daylight saving. However I have to do this for New York I have to think about Daylight saving.
I am using a UK time local on our server.
This is my code so far but it is not working out the daylight saving.
$timestamp_uk = explode(" ",microtime());
$timestamp_uk = round(($timestamp_uk[1] + $timestamp_uk[0])*1000); // GMT server Timestamp in milliseconds
$timestamp_ny = $timestamp_uk -(1000*60*60*5); // set a (your local) time zone offset for each
$timestamp_tk = $timestamp_uk +(1000*60*60*9);
$timestamp_sy = $timestamp_uk +(1000*60*60*11);
Can anybody help or does anybody have an effective solution for this issue.
JimFl