I need to calculate the date of the first day in a calendar week, for example.
Week 1 in 2009 โ Mon, 12/29/2008 (!)Week 44 in 2009 โ Mon, 10.26.2009
I have ugly code for this, but I would prefer good C ++ lib.
Any suggestions?
how about boost :: gregorian :: date with its algorithms ?