108 of 286
94 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 GetDate, GetDayOfWeek, GetDayOfYear, PutDate