Login Page - Create Account

Support Board


Date/Time: Mon, 09 Jun 2025 07:44:55 +0000



Post From: ACSIL Calculate Bar Duration in Seconds

[2022-12-30 12:33:14]
User431178 - Posts: 700
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()