26 Sep
2009
26 Sep
'09
6:43 p.m.
Ramon F Herrera wrote:
I looked at the Date_Time library but couldn't find this.
Need to convert a date into the corresponding week of the year and vice versa.
I realize that such thing varies and plan to use the standard most common in the USA.
TIA,
-Ramon
Ok, I discovered this: int week_number() const Returns the ISO 8601 week number for the date. Which solves half my problem... -RFH