Unsupported content

 

This version of the product is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

time.delta

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

Creates a time delta that can be added to or subtracted from a time represented by an internal datetime object. It accepts keyword parameters, for example:

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

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

Comments