|
PHP5中文手册
date_create(PHP 5 >= 5.1.0) date_create — Returns new DateTime object 说明
DateTime date_create
([ string $time
[, DateTimeZone $timezone
]] )
DateTime DateTime::__construct
([ string $time
[, DateTimeZone $timezone
]] )
参数
返回值Returns DateTime object on success or FALSE on failure. |