Skip to content

Kirby 4.5.0

$date->sub()

$date->sub(DateInterval $interval)

Parameters

Name Type Default
$interval * DateInterval

Parent class

Kirby\Toolkit\Date inherited from DateTime