Date.getMondayWeekOfYear

Returns the week of the year, where weeks are understood to start on Monday. If the date is before the first Monday of the year, return 0. The date must be valid.

class Date
uint
getMondayWeekOfYear
()

Return Value

Type: uint

week of the year