Skip to main content

SUBTRACT_TIME

Subtract minutes from a datetime

Example Usage

SUBTRACT_TIME("2021-09-23 09:05:00", 7)  // subtracts 7 minutes from the timestamp

Overview

Function signature
SUBTRACT_TIME(value, minutes)

Category
Date

Return data type
datetime

Arguments

NameDataTypeList Options                          Description
valuedatetimeSource datetime
minutesintMinutes to add (or subtract)