- Index
- »
- axon
- »
- func:weekOfYear
def
func:weekOfYear
weekOfYear(val, startOfWeek: null)
Given a DateTime or Date, return the week number of the year. The result is a number between 1 and 53 using the given start of week weekday as number 0-6 (defaults start of week for current locale).