Forum Discussion
ThomasBP
7 years agoFrequent Visitor
problem_New_year_calculs_refresh
Hello, I was wondering, in one of my calcul for the current week I put: Semaine_en_cours = WEEKNUM(TODAY()) So since 2018, I have all the current weeks auto calculated. For today, the f...
Greg_Deckler
7 years agoCommunity Champion
Well, the issue is that there really are 53 weeks in 2018. But, if it bugs you, you can always do this:
Semaine_en_cours = VAR __weeknum1 = WEEKNUM(TODAY()) RETURN IF(__weeknum1 > 52,52,__weeknum1)