Login Page - Create Account

Support Board


Date/Time: Tue, 01 Jul 2025 14:28:04 +0000



Post From: Create Time string

[2020-10-06 13:40:22]
User681150 - Posts: 62
i want to create a standard chart time string 11:35:20 to output to the window log. i have this but cant concatenate to make it a string. can anyone advise how to.. the "time" variable keeps failing

int Hour = sc.BaseDateTimeIn[sc.Index].GetHour();
int Minute = sc.BaseDateTimeIn[sc.Index].GetMinute();
int Second = sc.BaseDateTimeIn[sc.Index].GetSecond();

SCString time = Hour+":"+Minute+":"+Second ;