method sub documentation in bbn\Time
Subtract the given $interval to $this->time and return a reference to the original object
If the argument $format is not given it returns the sql format 'Y-m-d H:i:s'
function(string $interval, $format = '')
{
$tmp->time->sub($this->getInterval($interval));
return $tmp->format($format);
}
Subtract the given $interval to $this->time and return a reference to the original object BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way