Standard Library functionthat determines the elapsed time between the values in two date/time variables.
dt_var_2 The date/time variable to subtract. Can be a scalar or array variable.
DT1 = str_to_dt('01-02-92', Date_Fmt=2) DT2 = str_to_dt('01-03-92', Date_Fmt=2)
diff = DT_DURATION(DT2, DT1) PRINT, diff
29.000000
For more information on date/time, see the PV-WAVE User's Guide.