class DateTime extends DateTimeImmutable

DateTime.

Traits

Better OOP experience.

Methods

__construct($time = 'now', DateTimeZone $timezone = null)

No description

string
__toString()

No description

Details

at line 23
__construct($time = 'now', DateTimeZone $timezone = null)

Parameters

$time
DateTimeZone $timezone

at line 35
string __toString()

Return Value

string