datetime module

datetime::subtract

Subtract a duration from a datetime.

Syntax

RQL

Parameters

NameTypeDescription
datetime_valueDatetimeThe datetime to subtract the duration from
durationDurationThe duration to subtract

Return Value

Returns a Datetime representing the result of subtracting the duration from the datetime.

Examples

$ Subtract duration from datetime
$ ctrl+enter to run

Related Functions