Login Page - Create Account

Support Board


Date/Time: Mon, 15 Sep 2025 13:43:48 +0000



Post From: [Programming help] transferring an ISO date to SCDateTime

[2025-09-14 07:11:36]
swish - Posts: 3
I am loading in an ISO date, example: 2025-08-29T19:59:54.957947625Z I am wondering the best method to transfer this into the most accurate SCDateTime I can with both the date and time being correct.

Here is what I have now, however, it appears to be setting my value to JUST the date

SCDateTime sc_date_time = sc.DateStringToSCDateTime((const char*)ISO_TIME);

I also tried sc.TimeStringToSCDateTime() but that does not seem to give me the result I want either