RE: [PHP] formatting sporadic date formats from access

From: Date: Fri, 09 May 2003 02:08:54 +0000
Subject: RE: [PHP] formatting sporadic date formats from access
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146959@lists.php.net to get a copy of this message
If you are importing via an export (csv for expample) from access I found it easier to just format the exports date format to mysql's format. Regards, Joseph -----Original Message----- From: daniel@electroteque.org [mailto:daniel@electroteque.org] Sent: Friday, 9 May 2003 11:32 AM To: php-general@lists.php.net Subject: [PHP] formatting sporadic date formats from access hi guys i am trying to transform dodgy sporadic date formats from access to a standard mysql form , here is an example of my headache Fri Jan 5 16:40 1996 what can i do to format this properly notice the year is at the end do strtotime wont work :\ sometimes the year is in the right place -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#146959) next »