Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 11:51:29 +0000



Post From: Mistake in ACSIL documentation for SCDateTime function GetTimeHMS()

[2024-03-16 12:59:13]
Marijntv - Posts: 3
Hello Dear Support, there's a mistake in the documentation for the SCDateTime function GetTimeHMS().

The following example code is given:


int Hour = 0;
int Minute = 0;
int Second = 0;

sc.GetTimeHMS(Hour, Minute, Second);

GetTimeHMS is not a function of sc, but of SCDateTime, so it of course ought to be something like:


int Hour = 0;
int Minute = 0;
int Second = 0;

sc.BaseDateTimeIn[sc.Index].GetTimeHMS(Hour, Minute, Second);

Working with the SCDateTime Variables and Values: GetTimeHMS()