RE: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp

2005-05-08 Thread Bastien Koert
strtotime bastien From: Graham Anderson <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp Date: Sat, 7 May 2005 18:06:12 -0700 I need to batch convert a bunch of date strings into mysql time stamps: If I have the following: May 7,

Re: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp

2005-05-08 Thread Firan Corneliu
You can use date('YmdHis',strtotime($your_date_string)); check http://ro.php.net/manual/en/function.date.php for more about the date function. On Sat, 2005-05-07 at 18:06 -0700, Graham Anderson wrote: > I need to batch convert a bunch of date strings into mysql time stamps: > > If I have the