Skip to content

Kirby 6.0.1

$date->day()

Gets or sets the day value

$date->day(int|null $day = null): int<1, 31>

Parameters

Name Type Default
$day intornull null

Return type

int<1, 31>

Parent class

Kirby\Toolkit\Date