Available in all subroutines.

Adds a relative time to a time.


declare local var.one_day_later TIME;
set var.one_day_later = time.add(now, 1d);
# var.one_day_later is now the same time tomorrow

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.