Skip to content

Kirby 5.0.4

$date->setTime()

$date->setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0)

Parameters

Name Type Default
$hourrequired int no default value
$minuterequired int no default value
$second int 0
$microsecond int 0

Parent class

Kirby\Toolkit\Date inherited from DateTime