Quarter

concerns

The Quarter attribute can be used to determine the Quarter number of the variable.

 

Syntax

Quarter([FirstDayOfWeek][, FirstWeekOfYear])

Return value

Type

Description

Long

Quarter between 1 and 4

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