Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 09:17:22 +0000



Mistake in ACSIL documentation for SCDateTime function GetTimeHMS()

View Count: 270

[2024-03-16 12:59:13]
Marijntv - Posts: 3
Hello Dear Support, there's a mistake in the documentation for the SCDateTime function GetTimeHMS().

The following example code is given:


int Hour = 0;
int Minute = 0;
int Second = 0;

sc.GetTimeHMS(Hour, Minute, Second);

GetTimeHMS is not a function of sc, but of SCDateTime, so it of course ought to be something like:


int Hour = 0;
int Minute = 0;
int Second = 0;

sc.BaseDateTimeIn[sc.Index].GetTimeHMS(Hour, Minute, Second);

Working with the SCDateTime Variables and Values: GetTimeHMS()
[2024-03-16 14:38:26]
John - SC Support - Posts: 36238
Thank you, we have updated this.
For the most reliable, advanced, and zero cost futures order routing, use 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:

Login

Login Page - Create Account