DTDelay
Downtime-Specific System Function
The DTDelay function returns the difference between the scheduled non-preemptive downtime and the time it actually occurred. Use DTDelay to determine if downtimes are being postponed because of incompleted work. You can use DTDelay in downtime logic to ensure that a Location comes back up at a specific time.
Syntax
DTDelay(<time unit>)
Examples
Wait Att1 - DTDelay(Min)
Display "The downtime delay was"$DTDelay(day)$"days."
Parameters
(<time units>)
The unit of time the function returns for the delay. Valid time units include sec, min, hr, day, and wk.
Remarks
DTDelay returns a real number.
DTDelay also returns the difference between the time when a downtime is preempted and the time it resumes.