Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Creatin New Time Function ?

 
Post new topic   Reply to topic    Smarty Forum Index -> Help Wanted (commercial)
View previous topic :: View next topic  
Author Message
eemre
Smarty n00b


Joined: 09 Aug 2010
Posts: 1

PostPosted: Mon Aug 09, 2010 9:13 am    Post subject: Creatin New Time Function ? Reply with quote

Hi , im using a php script, i want show time in form but it using smarty template engine how can create time fuction thanks ?
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7289
Location: Lincoln Nebraska, USA

PostPosted: Mon Aug 09, 2010 1:56 pm    Post subject: Reply with quote

{$smarty.now|date_format:"%H:%M:%S"}
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Help Wanted (commercial) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP