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
Log in or register to comment.