Skip to content

Kirby 6.0.1

$date->second()

Gets or sets the second value

$date->second(int|null $second = null): int<0, 59>

Parameters

Name Type Default
$second intornull null

Return type

int<0, 59>

Parent class

Kirby\Toolkit\Date