RE: [Quickfix-developers] Miliseconds in UTC Time
Brought to you by:
orenmnero
From: Daniel M. <Dan...@ma...> - 2003-10-06 19:51:14
|
If I search the entire quickfix source base, strptime() is only used 7 times, and only 4 of the contain formatting the seconds field. I could just modify the buffer after the call to strptime() to add the ".sss" onto the end if needed and be done with it. The same goes for strftime(). Optionally, since the source code for these two functions is part of the quickfix source any way, I could modify these directly, the usage clause says we can use it "with or without modification". Daniel -----Original Message----- From: Caleb Epstein [mailto:ca...@bk...]=20 Sent: Monday, October 06, 2003 3:41 PM To: Daniel May Cc: Miller, Oren; qui...@li... Subject: Re: [Quickfix-developers] Miliseconds in UTC Time On Mon, Oct 06, 2003 at 03:34:25PM -0400, Daniel May wrote: > I am aware that the millisecond field is absent in most time routines. > I was going to start by changing UtcTimeStamp to use the timeb struct This is not Stanard C, but I think its relatively well supported on most platforms. The Solaris and Linux boxes I have access to all support it. > Oren sent me a link to a strftime/strptime that supports milliseconds, > so send him your Kingdom :) Once that code was de-Windows-ed, it wouldn't be too bad. My eyes glaze over as soon as I start seeing szVariableName. --=20 Caleb Epstein | bklyn . org | Moore's Constant: cae at | Brooklyn Dust | Everybody sets out to do something, bklyn dot org | Bunny Mfg. | and everybody does something, but no | | one does what he sets out to do. |