Using server time in a template? The members of my forum chat every Thursday night at 9 p.m. EST, and I'd like to place a graphic or announcement on the forumhome to remind visitors it's time to chat. I have a Javascript that will do this, except it works with the local time that the user's computer is set to, so if they're in a different time zone they'll see the message at the wrong times. Is there any way for me to access the time on the server?
I found variables for getting the offset and time and date formats, but none for getting the time (surely this is available as a variable and I've just missed it somehow?) or server time. |