Support Board
Date/Time: Mon, 15 Sep 2025 13:43:52 +0000
Post From: [Programming help] transferring an ISO date to SCDateTime
[2025-09-14 17:16:53] |
User431178 - Posts: 779 |
Split the ISO datetime string into date and time, then use the functions you mentioned. ACSIL Interface Members - Functions: sc.DateStringToSCDateTime() ACSIL Interface Members - Functions: sc.TimeStringToSCDateTime() When you have done that you will have two objects, date and time, use the time object to set the time of the date object. Another option would be to use the use the standard c++ features to read in and convert to SCDateTime. https://cplusplus.com/reference/iomanip/get_time/ https://cplusplus.com/reference/ctime/tm/ |