Week

concerns

The Week attribute can be used to determine the calendar week of the variable.

 

Syntax

Week([FirstDayOfWeek][, FirstWeekOfYear])

Return value

Type

Description

Long

Calendar week

Parameter

Use

Name

Type

Passing

Description

Optional

FirstDayOfWeek

Weekdays

ByVal

Enum

Optional

FirstWeekOfYear

FirstWeekOfYear

ByVal

Enum

 

Weekdays

Description

0 – System

Value is determined from the server's system settings

1 – Sunday

Sunday

2 - Monday

Monday

3 - Tuesday

Tuesday

4 - Wednesday

Wednesday

5 - Thursday

Thursday

6 - Friday

Friday

7 - Saturday

Saturday

 

FirstWeekOfYear

Description

0 – System

Value is determined from the server's system settings

1 – FirstJan

The first week starts on 1st of January

2 – FirstFourDays

The first week begins with the first week with four consecutive days

3 - FirstFullWeek

The first week is the first complete week