This question already has an answer here:
This is my String Tue, 20 Aug 2013 10:45:05 and i want to this string in Date Format Like this :
2013-08-20.
Guys Please help.
Thanks
</div>
This question already has an answer here:
This is my String Tue, 20 Aug 2013 10:45:05 and i want to this string in Date Format Like this :
2013-08-20.
Guys Please help.
Thanks
</div>
收起
Try this,
$d=date('Y-m-d',strtotime('Tue, 20 Aug 2013 10:45:05'));
echo $d;
报告相同问题?