Re: [PHP] mktime with Feb or Jan ..

2003-02-03 Thread 1LT John W. Holmes
> I parse the apache logfile and get a date format like this > [03/Feb/2003:09:22:50 +0100] > OK i split it with preg_match and the result is > > Array > ( > [0] => 03 > [1] => Feb > [2] => 2003 > [3] => 09 > [4] => 22 > [5] => 50 > ) > > Now I'd like to convert it in a time

Re: [PHP] mktime with Feb or Jan ..

2003-02-03 Thread Maxim Maletsky
readon about strtotime() function www.php.net/strtotime you might not even need to preg_match() it -- Maxim Maletsky [EMAIL PROTECTED] Torsten Rosenberger <[EMAIL PROTECTED]> wrote... : > Hello > > I parse the apache logfile and get a date format like this > [03/Feb/2003:09:22:50 +0

[PHP] mktime with Feb or Jan ..

2003-02-03 Thread Torsten Rosenberger
Hello I parse the apache logfile and get a date format like this [03/Feb/2003:09:22:50 +0100] OK i split it with preg_match and the result is Array ( [0] => 03 [1] => Feb [2] => 2003 [3] => 09 [4] => 22 [5] => 50 ) Now I'd like to convert it in a timestamp with