# Spot on Year/week\_number(s) calculations

**URL:** <https://community.glideapps.com/t/spot-on-year-week-number-s-calculations/74919>\
**Category:** Ask for Help\
**Created:** [July 15, 2024, 2:09pm UTC](https://community.glideapps.com/t/spot-on-year-week-number-s-calculations/74919 "2024-07-15T14:09:43Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 17, 2024, 8:19pm UTC](https://community.glideapps.com/t/spot-on-year-week-number-s-calculations/74919/10 "2024-07-17T20:19:59Z")

</div>

If you are looking for an explanation of the formula, I break it down in the following post. The formula I gave you is a spin off of the core formula I’ve always used. It’s an old post and I’ve tweaked the math over the years to account for leap years and leap centuries. (None of which matter in your case.) This math has been used by many and proven over the past few years. It’s complex to explain, but makes sense once you take the time to understand it.

> [@If then else with DATE](https://community.glideapps.com/t/if-then-else-with-date/11328/23):
>
> @Darren_Murphy @Milan_Balogh Geez, I had to put on my thinking cap before my morning coffee. The same place that Darren got that original formula had a second formula. It looks like that old thread is unlisted now, so I won’t link to it, but the second formula dealt with adding years, and also accounted for leap year, so if you added 1 year to Feb 29th, then the next year if would calculated to Feb 28th instead of March 1st. Essentially it would figure out if the month of the future calculate…

---

_[View the full topic](https://community.glideapps.com/t/spot-on-year-week-number-s-calculations/74919)._
