Re: how can I make a timestamp a date
| From: | pete M | Date: | Wed, 18 Feb 2004 14:15:35 +0000 |
| Subject: | Re: how can I make a timestamp a date | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10976@lists.php.net to get a copy of this message | ||
http://smarty.php.net/manual/en/language.modifier.date.format.php
{$smarty.now|date_format:"%A, %B %e, %Y"}
this uses the strfttime function of php
have fun
pete
Florian Winkler wrote:
Hi in PHP i would solve it in this way : while($row = mysql_fetch_array($qry)) { $time = date("d.m.Y | H:i",$row['timestamp']); } how can I realize this in a template greetz fLo PS: I use section to loop the array _________________________________________________________________ Fotos - MSN Fotos das virtuelle Fotoalbum. Allen Freunden zeigen oder einfach online entwickeln lassen: http://photos.msn.de/support/worldwide.aspx