I get wrong date when using date("d.m.Y.", strtotime());
Hmm any idea why do I get this?
$event_start= '13/07/2017 12:00' ;
$date = date("d.m.Y.", strtotime($event_start));
var_dump($date); // '01.01.1970.'
Posted Jul 31, 2017, 3:01 PM UTC
55
Hmm any idea why do I get this?
$event_start= '13/07/2017 12:00' ;
$date = date("d.m.Y.", strtotime($event_start));
var_dump($date); // '01.01.1970.'
Posted Jul 31, 2017, 3:01 PM UTC