Use date_sub() to Subtract an Interval from a Date

Use date_sub() to Subtract an Interval from a Date

The date_sub() function subtracts an interval from a date object. This is useful for manipulating dates.

← Back to Tips List