This function returns the week number of the year for the given date, and assumes the first full week starting on Sunday of the year as Week 1. For other options on the first week of the year, use WeekNumberEx.
Parameter: In
Date
Type: date
Description: This is the date for which you wish to know the week number.
Return value: WeekNumber
Type: short integer
Description: This is the week number of the year for the given date.
DaysInMonth
DaysLeftInMonth
DaysLeftInYear
WeeksLeftInYear
WeeksLeftInYearEx
WeekNumberEx