Page 1 of 1

Date Function

Posted: Tue Dec 23, 2008 6:13 am
by codetwists
Normaly if I needed today's date I'd just use the php getdate function. Since I'm working in a Smarty tpl, is there a function in s9y that returns today's date?

Myron

Posted: Tue Dec 23, 2008 6:18 am
by Don Chambers
Here ya go Myron: {$smarty.now}

Posted: Tue Dec 23, 2008 6:29 am
by codetwists
Thanks!!!!!