Boost logo

Boost Users :

Subject: Re: [Boost-users] time conversion
From: Leo Cacciari (leo.cacciari_at_[hidden])
Date: 2012-06-11 16:53:53


Il 11/06/2012 22:23, young ha scritto:
> I would like to convert utc time to local time. I found 2 headers which
> confuse me.
>
> #include <boost/date_time/local_time_adjustor.hpp>
> #include <boost/date_time/c_local_time_adjustor.hpp>
>
These seems to be "internal" header files. What about following the
documentation and use boost/date_time/local_time.hpp?

See
http://www.boost.org/doc/libs/1_49_0/doc/html/date_time/local_time.html#local_date_time_header

> which one to use? c_local_adjustor or local_adjustor? what is the
> difference?

-- 
Leo Cacciari
Aliae nationes servitutem pati possunt populi romani est propria libertas

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