|
Posted by Alvaro G. Vicario on 09/01/06 22:16
*** Tgone escribió/wrote (31 Aug 2006 20:59:26 -0700):
> echo date("F jS, Y", $row['date']);
>
> But this returns "December 31st, 1969". I'm not sure what's going on
> here. Any ideas?
In order that this code works as expected, you need that your query looks
like this:
SELECT UNIX_TIMESTAMP(date) AS date FROM table
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|