Joomla Documentation by Component Creator
Namespaces
Interfaces
Classes
Overview
Classes
DateTime
sub
Introduction
Synopsis
Parameter
Return
DateTime::
sub
Subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object
Object oriented style
Signature
public function sub(
$interval )
Parameters
$interval
Returns
DateTime