Support Board
Date/Time: Wed, 19 Mar 2025 03:07:56 +0000
Post From: sc.GetTimeHMS() Stopped Working
[2022-10-04 17:23:01] |
Tony - Posts: 555 |
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. |