I searched the forum, and there are several posts that calculate the day of the week, but I can't find any that compute the week number for a given date.
Does anybody have an algorithm for this?
By the way, I'm talking about the week number in the Gregorian calendar, not that of ISO-8601. This also implies that the starting day of the week is Sunday, as used in the USA.
Regards..... Moneo
Does anybody have an algorithm for this?
By the way, I'm talking about the week number in the Gregorian calendar, not that of ISO-8601. This also implies that the starting day of the week is Sunday, as used in the USA.
Regards..... Moneo