Login Page - Create Account

Support Board


Date/Time: Sun, 02 Feb 2025 00:39:07 +0000



Post From: GetSecond() function returning only zero

[2019-08-08 14:12:23]
Ernie Doo - Posts: 46
If I use in ACSIL the following example given by Sierra Chart in the section "Working with the SCDateTime Variables and Values" then the fuction is only returning zero continiously>

int Second = sc.BaseDateTimeIn[sc.Index].GetSecond();

GetMinute works perfectly and if I use the following line the information returned contains the minute and it changes with every bar.

int Minute = sc.BaseDateTimeIn[sc.Index].GetMinute();

Can you please explain me why is GetSecond not working?

Thanks a lot.
Ernesto