class DateTime extends DateTimeImmutable

DateTime.

Methods

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

No description

string
__toString()

No description

Details

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

No description

Parameters

string|int $time
DateTimeZone|null $timezone

at line 32
string __toString()

No description

Return Value

string

Traits

Better OOP experience.