Login Page - Create Account

Support Board


Date/Time: Tue, 01 Jul 2025 13:48:57 +0000



Post From: Create Time string

[2020-10-06 13:54:45]
Ackin - Posts: 1865
i want to create a standard chart time string 11:35:20 to output....the "time" variable keeps failing

try:

SCString ResultText;
SCString time;
SCDateTime CurrentIndex = sc.BaseDateTimeIn[sc.Index];
ResultText.Format("%i:%02i:%02i", CurrentIndex.GetHour(), CurrentIndex.GetMinute(), CurrentIndex.GetSecond());

time+= ResultText;