Re: [SMARTY] Using modifiers on static data

From: Date: Tue, 26 Nov 2002 19:22:41 +0000
Subject: Re: [SMARTY] Using modifiers on static data
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6561@lists.php.net to get a copy of this message
On Tuesday 26 November 2002 19:02, Michal Prinke wrote: > How to use modifiers on static (non-variable) data? > > I'd like to output the current date using |date_format modifier. http://smarty.php.net/manual/en/language.modifier.date.format.html {$smarty.now|date_format} {$smarty.now|date_format:"%A, %B %e, %Y"} {$smarty.now|date_format:"%H:%M:%S"} Manfred

« previous php.smarty.general (#6561) next »