Re: date_format and additional parms (not the number but the type)

From: Date: Thu, 29 Mar 2001 14:45:31 +0000
Subject: Re: date_format and additional parms (not the number but the type)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-497@lists.php.net to get a copy of this message
On Thu, 29 Mar 2001, Monte Ohrt wrote: > You could use strtotime() to convert a string to a timestamp. It should > be able to figure it out if the string is a valid date. It should handle > mysql timestamps just fine too. > > {$date|strtotime|date_format} strtotime() will not handle MySQL timestamps. -Andrei "Science is like sex: sometimes something useful comes out, but that is not the reason we are doing it" -- Richard Feynman

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