Skip to content

Kirby 4.5.0

$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