Property | Type | Description | |
---|---|---|---|
$toStringFormat | string | Format to use for __toString method when type juggling occurs. |
Method | Description | |
---|---|---|
__construct ( string | null $time = 'now', DateTimeZon\DateTimeZone | string | null $tz = null ) | Create a new mutable Date instance. | |
toImmutable ( ) : |
Create a new immutable instance from current mutable instance. |
public toImmutable ( ) : |
||
return |
protected static string $toStringFormat | ||
return | string |