Skip to main content
Subtracts specified minutes from the date, accurate to the minute.

Syntax

Parameters

  • date: the base date. It must be of the DATETIME or DATE type.
  • minutes: the minutes to reduce. It must be of the INT type, it could be greater, equal or less than zero.

Return value

Returns a DATETIME value. Returns NULL if either date or minutes is NULL.

Examples

Text