Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 13:40:23 +0000



Post From: sc.GetTimeHMS() Stopped Working

[2022-10-04 17:23:01]
Tony - Posts: 459
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.