How can I convert this string 05/Feb/2010:14:00:01 to unixtime ?
05/Feb/2010:14:00:01
$d="05/Feb/2010:14:00:01"; $dr= date_create_from_format('d/M/Y:H:i:s', $d); echo $dr->format('Y-m-d H:i:s');
here you get date string, give format specifier in ->format() according to format needed