Skip to content

Kirby 5.0.0

$date->day()

Gets or sets the day value

$date->day(int|null $day = null): int

Parameters

Name Type Default
$day intornull null

Return type

int

Parent class

Kirby\Toolkit\Date