[WEEK_IN_YEAR] tag for leap year

i’m trying to set text boxes to show day and week of year.
somehow, dec 30-31 show week 1 of year. is this due to 2024 being a leap year?

The week of year depends on your location and what calendar you use.
Some countries and accounting use the year that has the first Thursday of a year in it because that is over half the week. Others use the year with January 1st in it (even if it is the end of the week).

7 x 52 is 364 neither 365 nor 366.

Samsung Developer Relations

1 Like