class DateTime extends DateTimeImmutable

DateTime.

Methods

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

No description

string
__toString()

No description

Details

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

No description

Parameters

string|int $time
DateTimeZone|null $timezone

at line 35
string __toString()

No description

Return Value

string

Traits

Better OOP experience.