Domino Code Fragment

Code Name*
Day of the Year
Date*
02/13/1999
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.220.178.207
Description*
Computes the day number of the year
Type*
Formula
Categories*
Date/Time Handling
Implementation:
Modify constants
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:

DayYr := ((Date Field Name - @Date(@Year(Date Field Name); 1; 1)) / (60 * 60 * 24))
+ 1;Day1stWk := 8 - (@Weekday(@Date(@Year(Date Field Name); 1;
1)));@Integer(((DayYr - Day1stWk) + 6) / 7) + 1