RE: [SMARTY] Datestamp in html??
| From: | SP | Date: | Mon, 01 Jul 2002 08:42:05 +0000 |
| Subject: | RE: [SMARTY] Datestamp in html?? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5118@lists.php.net to get a copy of this message | ||
I stand corrected
-----Original Message-----
From: Andreas Kossmeier [mailto:andreas.kossmeier@bergfex.at]
Sent: July 1, 2002 3:58 AM
To: Avern Williams
Cc: smarty-general@lists.php.net
Subject: Re: [SMARTY] Datestamp in html??
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
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php