HP Forums

Full Version: Calendar calculations
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good evening,

Sometimes it is important to know in which number-week is a date of appointement, or a delivery post, a RDV for work and so on. I have maked this formula, according with ISO 8601 norm :


For example : in what week is 18/06/1582 ?

N°W= DOW(1/1/1582) it is 1
DOY(18/06/1582) it is 169
then : 1+169+5 it is 175, then quotient by 7 it is 25
And because ip(1/5) it is 0
the anser is 25+0=25.
well : the 18/06/1582 is into the week number 25.
Gérard.(I dedicace for Katie because her is gentile).

I moved this to the Prime Forum for better visibility, and thank you for the dedication!
Reference URL's