Re: [Quickfix-developers] QuickFix and daylight savings time
Brought to you by:
orenmnero
|
From: Djalma R. d. S. F. <drs...@gm...> - 2007-10-26 19:12:44
|
Hi Andrew, QuickFIX uses the gmtime function to calculate the UTC time based on the local time. I believe that the OS should always determine whether daylight saving time is in effect. If your server runs Windows, the msvc run-time will assume the USA rules for implementing the DST calculation. But, in the Date/Time properties, the well-known option Automatically adjust clock for daylight saving time **MUST** be selected. Because QF internally uses some variables to cache data time values, I believe that an abrupt change in the server's clock might cause unpredictable behaviour for the running application. Since there is no hooking for changes in OS clock to update these variables, I would prefer to shutdown the application that uses QF before any adjustment in the machine's clock and then restart it. Djalma On 10/25/07, Andrew Culross <And...@tw...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: > http://www.quickfixengine.org/services.html > > > > > All, > > With DST approaching for some of us on Nov 4th, are there any known > issues/recommendations with QuickFix 1.12.4 ? Given that I have multiple > sessions specified (the times are in UTC) with start and stop times I > wanted to check. Will a running QuickFix engine update it's internal time > properly if the server's time changes due to DST? > > > > Andrew Culross > > TwoFour Systems > > 445 Hamilton Ave > > White Plains, NY 10601 > > Direct +1 (914) 220-8849 > > Main +1 (914) 220-8800 > > Fax +1 (914) 220-8899 > > www.TwoFour.com > > > > http://www.twofour.com/emaildisclaimer.aspx > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |