I am not sure, but you may want to look on some JAVA sites to see if they can get the system clock time to pass to PHP. Then you can work out the time difference, round it to the hour, and store in a cookie for the next time.
Not sure how though 😉