GetDayOfWeek

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

GetDayOfWeek


 

Calculate the day of the week from the time.

 


syntax

GetDayOfWeek(

         time

         )

 


Parameters

 

time

 

Type:

time

 

time.

 

Return Value

 

 

Type:

Number

 

Day of the week (1-Sunday, 2-Monday, 3-Tuesday, 4-Wednesday, 5-Thursday, 6-Friday, 7-Saturday). -1 on failure.

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference