time.delta(days, hours, minutes, seconds)

Creates a time delta that can be added to or subtracted from a time. It accepts keyword parameters, for example:

delay := time.delta(hours := 5, minutes := 15);
now := time.current();
later := now + delay;

Note that time deltas cannot be stored in the datastore. Attempts to do so will result in a run-time error.

Was this page helpful? Yes No Submitting... Thank you