[date_time] greg_day_of_week as numeric type
It is possible transform or use the greg_day_of_week (day_of_week() method) as a numeric type? Also seems to me that there is no day_of_month() method. Why? -- View this message in context: http://boost.2283326.n4.nabble.com/date-time-greg-day-of-week-as-numeric-typ... Sent from the Boost - Users mailing list archive at Nabble.com.
On 02/12/2012 10:58 AM, Claude wrote:
It is possible transform or use the greg_day_of_week (day_of_week() method) as a numeric type?
static short day_of_week(ymd_type) ... Return the day of the week (0==Sunday, 1==Monday, etc) http://www.boost.org/doc/libs/1_48_0/doc/html/date_time/gregorian.html#date_...
Also seems to me that there is no day_of_month() method. Why?
Because .day() already gives you the day of the month. Or did you mean that differently? Norbert
Ok! Thank you! :) -- View this message in context: http://boost.2283326.n4.nabble.com/date-time-greg-day-of-week-as-numeric-typ... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (2)
-
Claude
-
Norbert Wenzel