Help Center

CPowerTime.JulianToGregorianmethod

Converts a Julian date to a Gregorian date.

DateTimemethoddocumented

Syntax

FUNCTION JulianToGregorian (BYVAL nJulian AS LONG, BYVAL nDay AS LONG, BYVAL nMonth AS LONG, BYVAL nYear AS LONG) AS LONG

Parameters

NameDescription
nJulianThe Julian date.
nDayOut. The day (1-31).
nMonthOut. The month (1-12).
nYearOut. The four digit year.

Description

Converts a Julian date to a Gregorian date.

Reference

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