Navigation bar
  Start Previous page
 107 of 283 
Next page End 102 103 104 105 106 107 108 109 110 111 112  

98
GetDayNumber
Type
Function returning UnsignedInteger
Invocation
GetDayNumber(dayOfYear, year)
Parameter
Method
Type
Description
dayofYear
ByVal
integral
The ordinal day number of the year (Jan 1 = 1).
year
ByVal
integral
The year (1999 to 2178).
Discussion
This routine computes the day number corresponding to the day of the year specified by the parameters. 
Day number 0 is January 1, 1999.  The days in a year are numbered beginning with 1.
Example
Dim dayNum as UnsignedInteger
dayNum = GetDayNumber(59, 2005)
See Also
Previous page Top Next page