CPowerTime.GetAsJulianDatemethod
Returns the date as a Julian date.
Syntax
FUNCTION GetAsJulianDate () AS LONG
FUNCTION GetAsJulianDate (BYVAL nYear AS LONG, BYVAL nMonth AS LONG, BYVAL nDay AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
nYear | A four digit year. | |
nMonth | A month number (1-12). | |
nDay | A 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