date_create
date_create
create a new DateTime object
**date_create** string $datetime $timezone
This is the procedural version of
.
DateTime::__construct
Unlike the constructor, it will return
false instead of an exception if the passed in
string is invalid.
DateTime``datetime
See . DateTimeImmutable::__construct
Returns a new DateTime instance return.falseforfailure
DateTimeImmutable::__construct``DateTimeImmutable::createFromFormat``DateTime::__construct