Login Page - Create Account

Support Board


Date/Time: Thu, 23 Jan 2025 18:23:23 +0000



Post From: class SCDateTimeMS' has no member named 'GetMilliSecond'

[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!