![]() |
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 |
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
PHP Code:
|
Thanks Specialist, that worked. Not as easy as a phrase but just as good. :)
I appreciate it. |
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> |
All times are GMT. The time now is 07:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|