直到昨天,这段代码都运行良好:
$fechaactual = strtotime('now');
$timestamp = strtotime($v->startDate);
$pelo = date("d/m G:i:s",$fechaactual);
$pelo2 = date("m/d G:i:s",$timestamp);
$timestamp = strtotime($pelo2);
$timestamp2 = strtotime($pelo);
现在,$timestamp2 始终为空。我不明白。为什么?