Previous Topic

Next Topic

WeekNo - MaxBasic Function

WeekNo(Date: Date, StartDate: Date): Number

WeekNo returns the week of the year the Date occurs in. 1st of January is considered to be Week 1.

WeekNo function syntax has these named arguments:

Parameter

Description

Date

Required. Date value to have the corresponding week of the year returned.

StartDate

Optional. If included, the WeekNo will be calculated starting from the StartDate. If not included, defaults to 1/1.

See Also

Date Functions

Book Contents

Book Index