This gets the time from the user's computer, so the time will not be the same throughout different time zones, it will vary depending on the user's clock settings. If you still want to increment or decrement the hours, just do something like this:
yup i know! what i wanted to do initially was get the time with php and then use that to run my javascript clock which is a an continously updating analog type clock, but it seemed like too much grief!
getting the time is no problem in php, its just i would then have to create some sort of javascript timer (based on a 60 units system of course) which will continually add to the initally taken time so javascripts not my strongpoint i reckon just getting new time() and evaluating my timezone will do have to do.
if you have an idea on how i could make a function for a timer to do it the first way, i'd greatly appreciate it but otherwise i have no ideas on how to do it that way.
Bookmarks