I want to check if submitted datetime from user is the same as my datetime format with
DateTime::createFromFormat($format, $date)
It was working fine until I changed my time format from Y-m-d H:i:s
to Y-m-d\TH:i:s.ZP
I want to get timedate like this 2011-11-09T17:11:57.430+05:00
What format should I give to my function? Is the format I used wrong?