我正在尝试从以下日期格式中获取开始日期和结束日期
Wed 19 - Sat 22 June 2013
现在我想要的输出是: -
Startdate = 2013-06-19
Enddate = 2013-06-22
但我得到的输出是: -
Startdate = 1970-01-01
Enddate = 2013-06-22
我尝试过的:-
$old_date = explode('-',$date);
$startdate = date("Y-m-d",strtotime($old_date[0]));
$enddate = date("Y-m-d",strtotime($old_date[1]));
谁能帮我吗?