Week of the Year calculations?

26 Sep
2009
26 Sep
'09
6:05 p.m.
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

26 Sep
26 Sep
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
5630
Age (days ago)
5630
Last active (days ago)
1 comments
1 participants
participants (1)
-
Ramon F Herrera