i have a server from a diferent country where i have 6 hours +/- of diference
i have this function to return the correct hours
but when the timesaving occor i need change the var "valor"
for 0 or 1 because the timesaving
$hr = date("H:i:s", mktime(gmdate("H")+$valor, gmdate("i"), gmdate("s"), gmdate("m"), gmdate("d"), gmdate("Y")));
my question is there is a better solution for this and/or how can i find the exact day of the hour change? windows can determine the exact day without internet connection so i think there is some calc to check the date.
any one can help me?