Support Board
Date/Time: Thu, 28 Nov 2024 00:51:26 +0000
Post From: ACSIL: Getting the MilliSecond part of the Time&Sales time.
[2014-10-08 21:03:23] |
Zosimus - Posts: 345 |
I want to get the MS part of the Time&Sales time. (I understand that it is not "real" milliseconds but rather a counter of the T&S entries that happen within the same second). When I use the following code I only get zeros for the MS part (As seen in the attached image): SCTimeAndSalesArray TimeSales; sc.GetTimeAndSales(TimeSales); int TSIndex = TimeSales.Size() - 1; SCDateTimeMS TSDateTime = TimeSales[TSIndex].DateTime; int TS_MS = TSDateTime.GetMilliSecond(); SCString ToLog; ToLog.Format(" MS_Part is: %i", TS_MS); sc.AddMessageToLog(ToLog, 0); The Chart Update Interval is set to 40ms and the Time and Sales window does show milliseconds in the Time column. What is the correct way to get the MS part of the Time&Sales time ? Date Time Of Last Edit: 2014-10-08 21:07:14
|
TS_MS_Log.png / V - Attached On 2014-10-08 21:02:14 UTC - Size: 56.61 KB - 454 views |