Skip to content

Kirby 4.4.1

$date->month()

Gets or sets the month value

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

Parameters

Name Type Default
$month int|null null

Return type

int

Parent class

Kirby\Toolkit\Date