Skip to content

Kirby 4.1.2

$date->day()

Gets or sets the day value

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

Parameters

Name Type Default
$day int|null null

Return type

int

Parent class

Kirby\Toolkit\Date