LittleGiant\SpinDB\Storage\DBBackup::isNewerThan
Signature
protected function isNewerThan(string
$date,
string
$age,
string
$units )
Parameters
$date
— string- Date to use for today
$age
— string- Number of units (e.g. days)
$units
— string- Units to check. E.g. 'D' for days, 'W' for weeks
Returns
- bool
- True if the date is newer than (but not equal to) than the given age