DateTime
final class DateTime extends DateTimeImmutable implements JsonSerializable
Date Time.
Methods
string
jsonSerialize()
Returns JSON representation in ISO 8601 (used by JavaScript).
string
__toString()
Returns the date and time in the format 'Y-m-d H:i:s.u'.
Details
at line 21
string
jsonSerialize()
Returns JSON representation in ISO 8601 (used by JavaScript).
at line 30
string
__toString()
Returns the date and time in the format 'Y-m-d H:i:s.u'.