AfxAstroDayOfWeekfunction
Calculates the day of the week, Sunday through Monday, of a given date.
Syntax
FUNCTION AfxAstroDayOfWeek (BYVAL nDay AS LONG, BYVAL nMonth AS LONG, BYVAL nYear AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
nDay | A day number (1-31). | |
nMonth | A month number (1-12). | |
nYear | A four digit year. |
Return value
A number between 0-6, where 0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday.
Description
Calculates the day of the week, Sunday through Monday, of a given date.
Reference
- Include file
AfxTime.inc - Defined in AfxNova/AfxTime.inc:396
- Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures