View Single Post

  #2 (permalink)  
Old 05-16-2007
J.O. Aho
 
Posts: n/a
Default Re: MYSQL TIMESTAMP Format - DOS / Linux

janedunnie@gmail.com wrote:

> eg DOS = 20070508112803
> Linux= 2007-05-16 08:32:56
>
> This is a problem because my scripts assume the first format, although
> the probem is really that the formats are different - either one I can
> live with, just so long as they are the same.


Use DATE_FORMAT, that way you will always be sure you get the dates in the
format you want.




--

//Aho
Reply With Quote