james_4k2 Posted August 7, 2008 Share Posted August 7, 2008 Hi there, I have to convert August 8, 2008 to MySQL format which is yyyy-mm-dd using php. Can someone give me advice on this. Thanks in advance Link to comment https://forums.phpfreaks.com/topic/118688-php-date-conversion/ Share on other sites More sharing options...
discomatt Posted August 7, 2008 Share Posted August 7, 2008 date( 'Y-m-d', strtotime('August 8, 2008') ); Link to comment https://forums.phpfreaks.com/topic/118688-php-date-conversion/#findComment-611085 Share on other sites More sharing options...
james_4k2 Posted August 7, 2008 Author Share Posted August 7, 2008 thanks a lot discomatt Link to comment https://forums.phpfreaks.com/topic/118688-php-date-conversion/#findComment-611086 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.