Skip to main content
Subtracts a specified number of quarters from the date. One quarter equals three months.

Syntax

Parameters

  • expr1: the specified date. It must be of the DATETIME or DATE type.
  • expr2: the quarters to subtract. It must be of the INT type. It can be greater, equal, or less than zero. A negative value adds quarters to expr1.

Return value

Returns a DATETIME value.

Examples