Login Page - Create Account

Support Board


Date/Time: Sat, 16 Aug 2025 14:59:03 +0000



Post From: ACSIL Calculate Bar Duration in Seconds

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