Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Adding Todays' Date

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 10-22-2005, 01:45 PM
 
Ravingrod Ravingrod is offline
 

Member
  
Join Date: Apr 2005
Location: London
Posts: 25
 

Default Adding Todays' Date

Is it possible to place today's date on my home page?
If so, how do I do that?
__________________
X-Cart version 4.0.17
Reply With Quote
  #2  
Old 10-22-2005, 10:39 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default Re: Adding Todays' Date

Quote:
Originally Posted by Ravingrod
Is it possible to place today's date on my home page?
If so, how do I do that?

Place this in a TPL file where you want to display....
Code:
{$smarty.now|date_format:" %A, %B %e , %Y %r"}
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:43 PM.

   

 
X-Cart forums © 2001-2020