Login Page - Create Account

Support Board


Date/Time: Wed, 25 Mar 2026 00:06:14 +0000



Post From: ACSIL Calculate Bar Duration in Seconds

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