Boost logo

Boost Users :

Subject: Re: [Boost-users] 32 bit time stamp to date and time
From: Norbert Wenzel (norbert.wenzel.lists_at_[hidden])
Date: 2010-10-24 10:13:45


----- Original message -----
> Is it possible to get day of week  (Sunday, monday,...saturday) from
> ptime?

You can get the date from ptime via .date() and there's a .day_of_week() function for that.

(I don't have a doc at hand right now, so the exact naming might be slightly different.)

hth,
Norbert


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net