public static createFromFormat ( string $format, string $time, DateTimeZon\DateTimeZone | string | null $tz = null ) : static | ||
$format | string | The date() compatible format string. |
$time | string | The formatted date string to interpret. |
$tz | DateTimeZon\DateTimeZone | string | null | The DateTimeZone object or timezone name the new instance should use. |
return | static |