Skip to content

Kirby 4.5.0

Date::createFromFormat()

Date::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null)

Parameters

Name Type Default
$format * string
$datetime * string
$timezone DateTimeZone|null null

Parent class

Kirby\Toolkit\Date inherited from DateTime