Re: [SMARTY] Datestamp in html??

From: Date: Mon, 01 Jul 2002 07:57:35 +0000
Subject: Re: [SMARTY] Datestamp in html??
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5117@lists.php.net to get a copy of this message
Avern Williams wrote:
I've tried putting <INPUT TYPE=HIDDEN NAME="dateposted" VALUE="{$smarty.now|date_format:"%D"}"> in my smarty template, but it gets hung (understandably) on the double quotes. I've also tried <INPUT TYPE=HIDDEN NAME="dateposted" VALUE="{$smarty.now|date_format:'%D'}"> but that didn't work either. Does anyone have any suggestions?
http://www.php.net/manual/en/function.strftime.php : Note: Not all conversion specifiers may be supported by your C : library, in which case they will not be supported by PHP's strftime(). : This means that %T and %D will not work on Windows. -- andreas kossmeier bergfex.at - http://www.bergfex.at

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