Equinox Online Help - Language Reference - A to Z
WeekStart |
|
---|---|
Applies to | |
Syntax | Weekstart(WeekExpression [, YearExpression]) |
Action | [Function] Returns the date of the Monday for a specified week. |
Scope | Usable anywhere. |
Notes | This function returns the date of the Monday for a specified week. WeekExpression specifies the week and can take values from 1 to 53 inclusive. You may also specify YearExpression (as a number), which defaults to the current year if omitted. |
Category | Date handling |
See Also | Years, Year, Day, Dayname, Dayofweek, Dayofyear, Dmy, Dmyadd, Leapyear, Month, MonthName, Months, ServerDateTime, Today, Week, WeekOfYear |
Example | This example sets the variable StartDate to the first day of the week specified by weekno (for the current year). StartDate = Weekstart(weekno)? |