getws()

Function group Execute on client Platform(s)
Date and Time NO All

Syntax

getws()

Description

Returns the day of week which is set as the beginning of the week (note no argument).

The day of the week is returned as one of the datepart constants: kSunday, kMonday, kTuesday, kWednesday, kThursday, kFriday, kSaturday.

Example

Calculate lDate as  setws(kMonday)
# set the beginning of the week to Monday

Calculate lDate as getws()
# returns 13, the value of the constant kMonday