Help Center

CPowerTime.GetAsJulianDatemethod

Returns the date as a Julian date.

DateTimemethoddocumented

Syntax

FUNCTION GetAsJulianDate () AS LONG
FUNCTION GetAsJulianDate (BYVAL nYear AS LONG, BYVAL nMonth AS LONG, BYVAL nDay AS LONG) AS LONG

Parameters

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

Description

Returns the date as a Julian date.

Converts a Gregorian date to a Julian date. The year must be a 4 digit year.

Reference

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