$date->year() Gets or sets the year value kirby/src/Toolkit/Date.php#L506 $date->year(int $year = null): int Parameters Name Type Default $year int null Return type int Parent class Kirby\Toolkit\Date