Skip to content

Kirby 4.4.1

$date->diff()

$date->diff(DateTimeInterface $targetObject, bool $absolute = false)

Parameters

Name Type Default
$targetObject * DateTimeInterface
$absolute bool false

Parent class

Kirby\Toolkit\Date inherited from DateTime