Joomla Documentation by Component Creator
Namespaces
Interfaces
Classes
Overview
Classes
DateTimeInterface
diff
Introduction
Synopsis
Parameter
Return
DateTimeInterface::
diff
Returns the difference between two DateTime objects
Object oriented style
Signature
public function diff(
$datetime2,
$absolute )
Parameters
$datetime2
$absolute
Returns
DateInterval