View Full Version : Current time variable?
Anyone know what phrase or variable I can use in a template to display the current time to a user? The vbphrase[all_times_are-gmt..blah,blah] won't work. I just want to display only the time.
Thanks
Adrian Schneider
24 Jul 2005, 08:58
All I could find is the constant TIMENOW which is useless for what you want... You'll probably just have to add some php_include code
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Thanks Specialist, that worked. Not as easy as a phrase but just as good. :)
I appreciate it.
Christine
24 Jul 2005, 14:08
I have been using this in my navbar template for a while. It still works in 3.5. :)
<phrase 1="$timenow">$vbphrase[time_is_now_y]</phrase>
Phrase is:
The time now is <span class="time">{1}</span>
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.