Contents
Display Legacy Contents

 Print
    Week Day  
This Function returns a <numeric>, which is the index of the day of the specified Source Date in the week.

Parameters

Source Date <string>
  Date to get the week day from. This parameter must be in format YYYYMMDD.

     
Example 1
  Example 2
  Example 3
Saturday

WDay("20100227")

Result = 6
  Sunday

WDay("20100228")

Result = 0
  Monday

WDay("20100301")

Result = 1

See also
Samples
Sample 1
Sample 2
 
Updated: 3/21/2018 4:33 PM