NeoGeo78 Posted Saturday at 11:44 AM Report Posted Saturday at 11:44 AM Hi Paul, I hope all is well. I seem to be having an issue with setting HH:MM in MSFS2024 (works fine in 2020 etc). In particular: // Sets the local time DateTime newDateTime = new DateTime(2024, 7, 1, 4, 05, 0); FSUIPCConnection.UTCDateTime = newDateTime; It seems I can set the Year, Month, and Day, but for some reason, the Hours and Minutes always default to the actual real-world time, preventing me from setting a custom time. Perhaps Microsoft has changed how this feature works in 2024, but I was wondering if you are aware of this issue or know of a possible workaround? The same issue occurs when using FSUIPCConnection.LocalDateTime. I’ve tested this with your DLL versions 3.3.8 and the latest 3.3.13, alongside the latest FSUIPC version and the new BETA version that John released this week but still no joy. I hope the last few week shavent been too stressful for you! Thanks
Paul Henty Posted Saturday at 12:07 PM Report Posted Saturday at 12:07 PM I think this is a question for @John Dowson. My DLL just writes the hours to offset 0x023B and minutes to 0x023C regardless of what sim you're connected to. Paul
John Dowson Posted Saturday at 12:38 PM Report Posted Saturday at 12:38 PM 30 minutes ago, Paul Henty said: I think this is a question for @John Dowson. My DLL just writes the hours to offset 0x023B and minutes to 0x023C regardless of what sim you're connected to. I am not sure why this would be - I will take a look sometime next week.
NeoGeo78 Posted Saturday at 01:37 PM Author Report Posted Saturday at 01:37 PM One other obeservaton is I see it very briefly setting the time to the one I specified but then the sim changes the hours and mins to the local real time. Anyhow, thanks for the quick replies - have a good weekend!
Dabull Posted Monday at 07:15 PM Report Posted Monday at 07:15 PM I am experiencing this too. I can set the localMinute but not the hour. It seems to default to the local hour.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now