NurulScare
Member
- Local time
 - Today, 21:18
 
- Joined
 - Jan 6, 2021
 
- Messages
 - 31
 
Hi, I have table and need to calculate WEEK NUMBER based on date. however when enter year 2021, My week 1 doesn't start with 27/12/2020. 
date 27/12/2020 become week 53. I want my week 1 start with 27/12/2020 (Sunday is 1st day)
my formula is:
 date 27/12/2020 become week 53. I want my week 1 start with 27/12/2020 (Sunday is 1st day)
my formula is:
| IIf([Rejection Year]=2019,Int((([Rejection Date]-DateSerial(2018,12,30))+6)/7)+Abs(Weekday([Rejection Date],1)=Weekday(DateSerial(2018,12,30),1)),Int((([Rejection Date]-DateSerial(2019,12,29))+6)/7)+Abs(Weekday([Rejection Date],1)=Weekday(DateSerial(2019,12,29),1))) |