Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

Posted

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.