| Function group | Execute on client | Platform(s) |
| Date and time | NO | All |
getws()
Returns the day of week which is set as the beginning of the week.
The day of the week is returned as one of the datepart constants: kSunday, kMonday, kTuesday, kWednesday, kThursday, kFriday, kSaturday.
CalculatelDateassetws(()# set the beginning of the week to Monday
CalculatelDateasgetws()# returns 13, the value of the constant kMonday