WorkflowDuration - calculateTimeLeft(GlideRecord record)

Calculates the number of seconds remaining to the specified end date/time.

Table 1. Parameters
Name Type Description
record GlideRecord The record that contains the fields with the schedule, timezone, and date/time information. This is almost always activity.vars.__var_record__.
Table 2. Returns
TypeDescription
void