Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 02:32:54 +0000



Post From: ACSIL Calculate Bar Duration in Seconds

[2022-12-30 12:33:14]
User431178 - Posts: 545
Take a look at sc.BaseDataEndDateTime and SCDateTimeSpan (in scdatetime.h).
ACSIL Interface Members - Variables and Arrays: sc.BaseDataEndDateTime[]

There is also the SCDateTime member function GetTimeInSeconds, so you could compare the start time in seconds vs. end time in seconds.
Working with the SCDateTime Variables and Values: GetTimeInSeconds()