On Thu, 15 Feb 2001 at 17:57:43, Rog <[EMAIL PROTECTED]> writes
>He's probably gotten his timestamp from a database, in which case the
>easiest solution is usually reformat the timestamp when collecting it
>from the database rather than within PHP.
>
>(MySQL) Example :
>select UNIX_TIMESTAMP(timestamp);
>
>Then the timestamp will be properly formatted for PHP's date command.
Hooray! This works, thanks!
--
Steven
"Sponges grow in the ocean... that *kills* me. I wonder how much deeper they'd
be if that didn't happen." - Steven Wright
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]