This is the procedural versionen of DateTime::__construct() .
Unlique the
DateTime
constructor, it will return
false
instead of an exception if the passed in
datetime
string is invalid.
Returns a new DateTime instance or
false
on failure