RE: [PHP] MySQL timestamp to desired date function

2003-09-17 Thread Cesar Aracena
] MySQL timestamp to desired date function [snip] > I have a a timestamp in a DB (14 digits) [/snip] strtotime() tries to convert textual dates into a UNIX timestamp. eg "10 September 2000" since you've supplied a 14 digit timestamp to strtotime(), the function will throw back unexpe

RE: [PHP] MySQL timestamp to desired date function

2003-09-17 Thread Cody Phanekham
[snip] > I have a a timestamp in a DB (14 digits) [/snip] strtotime() tries to convert textual dates into a UNIX timestamp. eg "10 September 2000" since you've supplied a 14 digit timestamp to strtotime(), the function will throw back unexpected results. can we get some sample data from the l

RE: [PHP] MySQL timestamp to desired date function

2003-09-17 Thread Cesar Aracena
\de Y H:i:s", $date1); Any ideas? Thanks, Cesar Aracena www.icaam.com.ar -Mensaje original- De: Tom Rogers [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 18 de Septiembre de 2003 01:48 a.m. Para: Cesar Aracena CC: [EMAIL PROTECTED] Asunto: Re: [PHP] MySQL timestamp to desired date fu

Re: [PHP] MySQL timestamp to desired date function

2003-09-17 Thread Tom Rogers
Hi, Thursday, September 18, 2003, 2:38:50 PM, you wrote: CA> Hi all, CA> I have a a timestamp in a DB (14 digits) that I want to display like I CA> want in my pages. I tried to use strtotime, mktime and date functions CA> with no success... it always return the current timestamp instead of the CA