Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Jul 2005, 08:30
Jolten Jolten is offline
 
Join Date: Mar 2004
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
Reply With Quote
  #2  
Old 24 Jul 2005, 08:58
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #3  
Old 24 Jul 2005, 09:06
Jolten Jolten is offline
 
Join Date: Mar 2004
Thanks Specialist, that worked. Not as easy as a phrase but just as good.

I appreciate it.
Reply With Quote
  #4  
Old 24 Jul 2005, 14:08
Christine's Avatar
Christine Christine is offline
 
Join Date: Nov 2001
Real name: Christine. Really.
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>
__________________
L'chaim
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 10:58.

Layout Options | Width: Wide Color: