Date.getSundayWeekOfYear

Returns the week of the year during which this date falls, if weeks are understood to begin on Sunday. The date must be valid. Can return 0 if the day is before the first Sunday of the year.

class Date
uint
getSundayWeekOfYear
()

Return Value

Type: uint

week number

Meta