` Printed Icetips Article

Icetips Article



Par2: Week of year
2001-01-17 -- Tommy Stubberud
 
WeekNumber           PROCEDURE  (OFDATE)
   CODE
   RETURN((DAYNUMBER(OFDATE+3-(OFDATE-1)%7)+6)/7)


DayNumber            PROCEDURE  (OFDATE)
   CODE
   RETURN(OFDATE-DATE(1,1,YEAR(OFDATE))+1)



Printed November 21, 2024, 7:32 am
This article has been viewed/printed 35212 times.