Boost logo

Boost Users :

From: J Liu (johnny_spring_at_[hidden])
Date: 2005-07-26 17:03:50

I am using Boost 1.31 data time library with MSVC6. I want to use local TZ
setting to transfer a local time to utc time.

I noticed that we can use


to change a utc time to local time based on local TZ settings. But this
class does not have local_to_utc(). While

                       boost::date_time::local_adjustor<ptime, -5,

works, it does not use local TZ settings. Is there anyway I can use local TZ
setting to do the translation?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at