Skip to content

Kirby 4.4.1

Date::today()

Returns an instance of the beginning of the current day

Date::today(?DateTimeZone $timezone = null): Kirby\Toolkit\Date

Parameters

Name Type Default
$timezone DateTimeZone|null null

Return type

Kirby\Toolkit\Date

Parent class

Kirby\Toolkit\Date