NextGen Knowledge Center

Template Time Calculations

The template time calculations contain the following definitions and logic:

  • Definitions:
    • Date - Template "Date" data type; Example: 01/01/05
    • Timespan - Template "Time" data type; Example: "10 years 5 months 2 week 2 days"
  • Supported Time Calculations:
    • Date(new) - Date(old) = Timespan
    • Date + Timespan = Date
    • Timespan + Date = Date
    • Date - Timespan = Date
    • Date - Date(blank) = Timespan(blank)
    • Date(blank) - Date = Timespan(blank)
  • Supported special calculations:
    • Timespan + Timespan = Timespan
    • Timespan - Timespan = Timespan
  • Unsupported Time Calculations:
    • Date(old) - Date(new)
    • Date + Date
    • Timespan - Date