Support Board
Date/Time: Sat, 08 Nov 2025 17:41:03 +0000
Post From: ACSIL convert string to time
| [2016-01-28 23:24:29] |
| @sstfrederik - Posts: 410 |
|
Hi, Example code that works. SCString DateString ("2011-12-1"); SCDateTime DateValue; DateValue = sc.DateStringToSCDateTime(DateString); SCString TimeString ("17:00"); SCDateTime TimeValue; TimeValue = sc.TimeStringToSCDateTime(TimeString); SCDateTime DateTime; DateTime.SetDateTime(DateValue, TimeValue.GetTime()); |
