class DateTime extends DateTimeImmutable

DateTime.

Methods

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

No description

string
__toString()

No description

Details

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

No description

Parameters

string|int $time
DateTimeZone $timezone

at line 35
string __toString()

No description

Return Value

string

Traits

Better OOP experience.