Help Center

AfxJulianDayOfWeekfunction

Given a Julian date, returns the day of week.

DateTimefunctionAfxTime.incdocumented

Syntax

FUNCTION AfxJulianDayOfWeek (BYVAL nJulian AS LONG) AS LONG

Parameters

NameDescription
nJulianThe Julian date.

Return value

A number between 0-6, where 0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday.

Description

Given a Julian date, returns the day of week.

Reference

  • Include file AfxTime.inc
  • Defined in AfxNova/AfxTime.inc:601
  • Documented in DateTime/DateTime Procedures.md
  • Topic: Date and Time Procedures