date_create function returns new DateTime object. It returns DateTime object on success or returns FALSE on failure. This functions was introduced in PHP 5.1.0.
DateTime date_create ([ string $time= "now" [, DateTimeZone $timezone= NULL ]] )
time - String in a format accepted by strtotime(), defaults to "now".
timezone - Time zone of the time.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.