DayOfWeek


The DayOfWeek function computes the day of the week corresponding to a year, month, and day. The value is returned as a number 0 through 6 with Sunday being day 0.

Syntax

sDOW = DayOfWeek( nYear, nMonth, nDay )

bullet.gif    nYear, nMonth, nDay are the components of the date (e.g., 2007, 4, and 23).

bullet.gif    nDOW is the day of the week with values 0 through 6, beginning with Sunday = 0.

Remarks

none

Related Topics

ParseYmd

FormatYmdStr

CalcJD

FormatDate


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.