minutes_add

description

Syntax

DATETIME MINUTES_ADD(DATETIME date, INT minutes)

Add specified minutes from date time or date

The parameter date can be DATETIME or DATE, and the return type is DATETIME.

example

  1. mysql> select minutes_add("2020-02-02", 1);
  2. +---------------------------------------+
  3. | minutes_add('2020-02-02 00:00:00', 1) |
  4. +---------------------------------------+
  5. | 2020-02-02 00:01:00 |
  6. +---------------------------------------+

keywords

  1. MINUTES_ADD