Domino Code Fragment

Code Name*
Day of Year Formula
Date*
06/28/2025
Source (or email address if you prefer)*
[email protected]
IP address:.172.69.6.213
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