Log in

View Full Version : Display current server time?


dazzlin
03-26-2006, 12:47 AM
Wow, this seems like it should be simple to figure out, but I've spent hours and have gotten nowhere.

All I want to do is display the current server time right after the user's local time in the footer of the home page.

Currently, I show:
All times are GMT -6. The time now is 08:35 PM. (which uses this code: $vbphrase[all_times_are_gmt_x_time_now_is_y] )

and under that I want to have the server's time. Could someone specifically tell me what to put? I tried a javascript, I tried a php function, I tried $vbphrase[time]. Nothing worked. Surely, this must be a simple thing to do, but I have no clue how to make it work. Anyone?

Kirk Y
03-26-2006, 01:40 AM
I think vb uses a plugin to get the time -- so it'd have to be in a plugin as well. I'm trying to find the plugin used... I'll get back to you.

dazzlin
03-26-2006, 11:51 AM
Thanks, acidburn.