我需要将此日期转换为字符串格式iso格式以保存在mysql中。
string(16) "25/02/2015 11:10"
date('Y-m-d H:i:s', strtotime('25-02-2015 11:10'));
您需要使用破折号而不是斜线。
我需要将此日期转换为字符串格式iso格式以保存在mysql中。
string(16) "25/02/2015 11:10"
date('Y-m-d H:i:s', strtotime('25-02-2015 11:10'));
您需要使用破折号而不是斜线。