CPowerTime.DayOfYearmethod
Returns the day of the year, where Jan 1 is the first day of the year.
Syntax
FUNCTION DayOfYear (BYVAL nYear AS LONG = 0, BYVAL nMonth AS LONG = 0, BYVAL nDay AS LONG = 0) 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 day of the year, where Jan 1 is the first day of the year. If a parameter is omitted, the value stored in this CPowerTime object is assumed.
Reference
- Defined in AfxNova/CPowerTime.inc:909
- Documented in DateTime/CPowerTime Class.md
- Topic: CPowerTime Class