Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Wish List »4.2 STATS Time Formatting
Author Topic: 4.2 STATS Time Formatting (4 messages, Page 1 of 1)

SierraChart
-Interested User-
Posts: 25
Joined: May 23, 2006


Posted: Nov 14, 2006 12:26 PM          Msg. 1 of 4
I noticed one of the changes made in version 4.2 was the formatting of StartTime and MarketTime fields in the STATS System message. The new format of [short month][space][Day][space][hour][colon][minute][AM/PM] is much worse for parsing than the prior format of YYYY-MM-DD HH:MM:SS. I much prefer the prior formatting and ask that you may go back to that before taking 4.2 out of beta. Not only is it simpler and more efficient to parse, but it also contains the year and seconds.

I like the other date formatting changes that were made with using 4-digit years over 2-digit years.

DTN_Steve_S
-DTN Guru-
Posts: 2091
Joined: Nov 21, 2005


Posted: Nov 14, 2006 01:52 PM          Msg. 2 of 4
The time format did not change in this message.

It was pointed out on this thread: http://forums.iqfeed.net/index.cfm?page=topic&topicID=1219 that the format (in version 4.1.2.0) did not match the documentation. At that time, I researched this and determined that the documentation had always been wrong for most of these fields.

It was the documentation that was updated in the 4.2.0.x versions, not the field format.

SierraChart
-Interested User-
Posts: 25
Joined: May 23, 2006


Posted: Nov 15, 2006 11:27 AM          Msg. 3 of 4
I see now, thank you. It would still be preferable to have the date/time formatted as YYYY-MM-DD HH:MM:SS, if that is possible.

DTN_Steve_S
-DTN Guru-
Posts: 2091
Joined: Nov 21, 2005


Posted: Nov 15, 2006 12:56 PM          Msg. 4 of 4
We cannot change the default field formating for any existing field without breaking backwards compatability for old software.

However, the possibility of adding additional fields and/or adding some sort of optional formatting flag would be a possibility for a future version of IQFeed.
 

 

Time: Fri July 26, 2024 10:49 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003