Skip to content

Kirby 6.0.1

Date::today()

Returns an instance of the beginning of the current day

Date::today(DateTimeZone|null $timezone = null): Date

Parameters

Name Type Default
$timezone DateTimeZoneornull null

Return type

Kirby\Toolkit\Date

Parent class

Kirby\Toolkit\Date