I'm struggling to get week of year (from 1 to 52) in mysql query using friday as starting date. My friend said just add current date with number (because friday is 5 and sunday as default starting date is 0) 5 so that we can know week of year of given date.
What function will satisfy this problem? as for given that if value is 2009-12-28, it will ruin the function itself?
thanks before