Login Page - Create Account

Support Board


Date/Time: Fri, 04 Apr 2025 14:59:34 +0000



Post From: ACSIL Calculate Bar Duration in Seconds

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