Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
What will yearWeek for the 1st January will return?
Sometimes 1st January is in week 1 of week 52 or week 53...
For exemple 1 Jan 2005 is 2004 W53 but 1 Jan 2008 is 2008 W1.
Week function in SQL is always a little bit messy