(PHP 5 >= 5.5.0, PHP 7)
Returns new DateTimeImmutable object
DateTimeImmutable date_create_immutable ([ string $time = "now" [, DateTimeZone $timezone = NULL ]] )
Object oriented style
Procedural style
Like DateTime::__construct() but works with DateTimeImmutable.
Please login to continue.