
I use code based on the Olson database to figure out concomitant civil times. I don't think Boost has a module that includes this full database (that is, knowledge of how the time is changed when the rule was different in different years).
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Archie14 Sent: Friday, April 30, 2010 10:22 AM To: boost-users@lists.boost.org Subject: [Boost-users] handling of daylight saving time...
My software records time events on the computer and it does it using whatever timezone and daylight saving time settings are on this computer. I realized too late that, while storing timestamps, I am not accounting for this daylight adjustment process. So, if hypothetically speaking, the daylight adjustment happens today at 9:00 am and I am writing my timestamps every second I will have something like that: … 8.58 8.59 9.00 10.01 (without timesaving should be 9.01) 10.02 (without timesaving should be 9.02) … When I am reading my timestamps back I am constructing timezone and using it for timestamps manipulation std::string gmt = (boost::format("TMZ%1% TMS1:00:00,M3.2.0/02:00:00,M11.1.0/02:00:00") % gmtoffset).str(); , but this one-hour gap persists, as I now think it should.
The question is: is it possible to do manipulation with datetime library to remove this gap without hard-coding one hour removal after specific date/time of daylight saving time?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.