Skip to main content
Solved

Change numbers assigned to weeks of the year, for a school calendar

  • September 17, 2025
  • 4 replies
  • 56 views

Forum|alt.badge.img+2

I’m using this formula: WEEKNUM({Registered})

Where “Registered” is the date a user registered on my website. This assigns each record a week number according to the Jan-Dec calendar.

I want August 17-23, 2025 to be my Week 1 and January 25-31, 2026 to be my last week (Week 24). How can I change this?

Best answer by Alexey_Gusev

Hi,

You can use 
 

WEEKNUM(DATEADD(DateField,-231,'days'))

Where 231 - difference in days between August 17 and beginning of the 1st week.
 

4 replies

Alexey_Gusev
Forum|alt.badge.img+25
  • Brainy
  • Answer
  • September 17, 2025

Hi,

You can use 
 

WEEKNUM(DATEADD(DateField,-231,'days'))

Where 231 - difference in days between August 17 and beginning of the 1st week.
 


Forum|alt.badge.img+2
  • Author
  • New Participant
  • September 17, 2025

Amazing, thanks! When we hit January, will this continue to work by counting up? I mean, the first week of January 2026—I don’t want it to be Week 1. It would be 21.


Alexey_Gusev
Forum|alt.badge.img+25
  • Brainy
  • September 17, 2025

Yes, it actuall will show a week for a date 231 day before DateField. So it will show Jan 2026 as 21-24. But if you want it to work in other way  later in 2026, you will need to change formula. 
 

 


Forum|alt.badge.img+2
  • Author
  • New Participant
  • September 17, 2025

Perfect, thank you!