Login Page - Create Account

Support Board


Date/Time: Sat, 05 Jul 2025 19:57:36 +0000



Post From: sc.GetTimeHMS() Stopped Working

[2022-10-04 17:23:01]
Tony - Posts: 607
Thanks, I figured it out, this should be the correct way to use the function:

int a {0};
int b {0};
int c {0};
sc.BaseDataEndDateTime[sc.Index].GetTimeHMS(a, b, c);

and a, b, c, being updated as last price changes.

I vaguely remember there was a function, takes inputs of numbers of hour, minute and second, and converts them to the value of TimeInSeconds.