Example #1
0
 /**
  * Returns a new Date object by subtracting the specified number of days from the current one.
  *
  * @param   integer  $value  Number of days to be subtracted.
  *
  * @return  Date
  *
  * @since   2.0.0
  */
 public function subDays($value)
 {
     return new static($this->datetime->subDays($value));
 }