Support Board
Date/Time: Thu, 23 Jan 2025 14:42:59 +0000
class SCDateTimeMS' has no member named 'GetMilliSecond'
View Count: 843
[2018-11-29 22:04:11] |
naqviak - Posts: 22 |
I recently updated the SC version and tried to rebuild my custom study and I am getting an error TS-OTS-2.14BarCloseModification.cpp: In function 'float GetMSTime(SCStudyInterfaceRef)': TS-OTS-2.14BarCloseModification.cpp:17:47: error: 'class SCDateTimeMS' has no member named 'GetMilliSecond' float NowTimeMS = sc.CurrentSystemDateTimeMS.GetMilliSecond(); Its complaining about this line float NowTimeMS = sc.CurrentSystemDateTimeMS.GetMillisecond(); Any help will be appreciated! |
[2018-11-30 16:37:06] |
Sierra Chart Engineering - Posts: 104368 |
There is just a change with the letter case. Use GetMillisecond. And not GetMilliSecond.
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: