Parse custom date format into internal MYSQL format using PHP

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-05-16T04:48:18Z Indexed on 2010/05/16 4:50 UTC
Read the original article Hit count: 213

Filed under:
|

Hi,

I've got dates being generated which look lke these:

Sun May 16 23:59:59 GMT 2011

I want to convert them into storable MYSQL form and so that i can read/compare them via php. I am using php. How can i convert the above into something MYSQL will understand?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql