Support Board
Date/Time: Mon, 29 Dec 2025 20:44:42 +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()); |
