Support Board
Date/Time: Fri, 10 Jan 2025 03:36:24 +0000
[Programming Help] - how to read the date time from the listtradeorders xml
View Count: 780
[2016-08-25 00:39:36] |
User289438 - Posts: 1 |
How to read the date time from the xml in the listtradeorders xml <EntryDateTime>42606.993491539353272</EntryDateTime> What is the current unit it is in. ould you tell what it means please. |
[2016-08-25 02:22:19] |
Sierra Chart Engineering - Posts: 104368 |
This is a double precision number. You need to use the /ACS_Source/SCDateTime.h header file provided with Sierra Chart. Here is an example: double NumberFromFile =42606.993491539353272; SCDateTime DateTime(NumberFromFile); //Use the member functions on DateTime to accomplish what you need. For documentation, refer to: http://www.sierrachart.com/index.php?page=doc/SCDateTime.html Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: