This function returns a number representing the week of the year of a given date in a certain time zone.
Bash
weekOfTheYear(timestamp, firstDayOfTheWeek, minimalDaysInFirstWeek, 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() |