SUBDUR (Subtract Duration)
Free-Form Syntax | not allowed - use the - or -= operators with duration functions such as %YEARS and %MONTHS, or the %DIFF built-in function) |
Code | Factor 1 | Factor 2 | Result Field | Indicators | ||
---|---|---|---|---|---|---|
SUBDUR (E) (duration) | Date/Time/ Timestamp | Date/Time/ Timestamp | Duration: Duration code | _ | ER | _ |
SUBDUR (E) (new date) | Date/Time/ Timestamp | Duration:Duration Code | Date/Time/ Timestamp | _ | ER | _ |
The SUBDUR operation has been provided to:
- Subtract a duration to establish a new Date, Time or Timestamp
- Calculate a duration