Supported in: Batch, Streaming
Subtract value from timestamp in specified unit.
Expression categories: Datetime
Output type: Timestamp
Argument values:
DAYSOutput: 2022-02-01T00:00:00Z
Argument values:
HOURSOutput: 2022-02-01T22:00:00Z
Argument values:
MILLISECONDSOutput: 2022-02-01T23:59:59.998Z
Argument values:
MINUTESOutput: 2022-02-01T23:58:00Z
Argument values:
MONTHSOutput: 2021-12-01T00:00:00Z
Argument values:
QUARTERSOutput: 2021-08-01T00:00:00Z
Argument values:
SECONDSOutput: 2022-02-01T23:59:55Z
Argument values:
YEARSOutput: 2020-02-01T00:00:00Z
Argument values:
dateYEARSvalue| date | value | Output |
|---|---|---|
| 2022-02-01T00:00:00Z | null | null |
| null | 2 | null |
| null | null | null |