Skip to content

Kirby 4.2.0

$date->second()

Gets or sets the second value

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

Parameters

Name Type Default
$second int|null null

Return type

int

Parent class

Kirby\Toolkit\Date