CalcMJD

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 )

Remarks

none

Related Topics

ParseYmd, FormatYmdStr, CalcJD, FormatDate