Support Board
Date/Time: Thu, 05 Mar 2026 14:45:54 +0000
Post From: ACSIL convert string to time
| [2016-01-28 23:24:29] |
| @sstfrederik - Posts: 412 |
|
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()); |
