This function returns a timestamp for the next occurence of any given day - based on a given date in a certain time zone.
The timestamp will return 00:00, i.e., just the beginning of the day.
nextDayOfTheWeek(timestamp, dayOfTheWeek, timeZone) #Output: Number
Use cases and examples
Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
---|---|---|---|---|---|
Set a date on the same week day on alternate weeks | addDays() nextDayOfTheWeek() modulus() weekOfTheYear() datePart() |