Subtract Time
Subtracts a specified amount of time from a given date.
Input parameters
Name | Description | Type | Required | Default value |
---|---|---|---|---|
Date | The starting date and time for adjustment. | DATE | true | |
Amount | The amount of time to subtract. | NUMBER | true | |
Unit | The unit of time to adjust (e.g., NANOS, MILLIS, SECONDS, MINUTES, HOURS, DAYS, WEEKS, YEARS). | STRING | true |
Output
Name | Description | Type | Default value |
---|---|---|---|
Result | The adjusted date and time after subtracting the given amount of time. | DATE | result |