getws()

Function groupExecute on clientPlatform(s)
Date and timeNOAll

Syntax

getws()

Description

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.

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