Example: Time functions

TIME("sun feb 12 2006 14:30")
Returns 1 if it is exactly 2:30 p.m. on Sunday February 12, 2006; otherwise 0 is returned.
AFTER_TIME("sun feb 12 2006 14:30")
Returns 1 the first time the expression is evaluated after 2:30 p.m. on Sunday February 12, 2006.
The expression continues to return 1 from this point on, but because an action is triggered only when the expression changes from False to True, the action is triggered only once.
BEFORE_TIME("Feb 12 2006")
Returns 1 if it is not yet February 12, 2006; if the date is on or after February 12, 2006, 0 is returned.
INTERVAL("1 min")
Returns 1 if a minute has elapsed since the expression last returned a 1, otherwise 0 is returned.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal