Help Center

CPowerTime.AstroDayOfWeekmethod

Returns the Astronomical Day for any given date.

DateTimemethoddocumented

Syntax

FUNCTION AstroDayOfWeek (BYVAL nYear AS LONG = 0, BYVAL nMonth AS LONG = 0, BYVAL nDay AS LONG = 0) AS LONG

Parameters

NameDescription
nYearA four digit year.
nMonthA month number (1-12).
nDayA day number (1-31).

Description

Calculates the day of the week, Sunday through Monday, of a given date.

Reference

  • Defined in AfxNova/CPowerTime.inc:670
  • Documented in DateTime/CPowerTime Class.md
  • Topic: CPowerTime Class