Support Board
Date/Time: Tue, 13 May 2025 17:07:31 +0000
Post From: m_EveningSession from sc.GetStudyProfileInformation() always returns 0
[2024-08-29 21:58:14] |
Mark Lewis - Posts: 27 |
Workaround for anyone that runs into this in the future... n_ACSIL::s_StudyProfileInformation profile_1; sc.GetStudyProfileInformation(1, 1, profile_1); SCDateTime profile_1_DateTime = profile_1.m_StartDateTime; SCDateTime StartTimeOfEveningSession; StartTimeOfEveningSession.SetTime(sc.StartTime2); if (profile_1_DateTime.GetHour() == StartTimeOfEveningSession.GetHour()) { // profile_1 is an evening profile } |