Domino Code Fragment

Code Name*
Day of Year Formula
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.22.248.208
Description*
Day of Year Formula
Type*
Formula
Categories*
Date/Time Handling
Implementation:
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