I am looking for "C" code that correctly calculates the week number for any year, given any date as input. I using the western style approach. Where sunday is my first day of the week. In calculating the week number, there are a lot of rules and offsets to be aware of. Some of which I don't...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.