The message displays a perfect time but 7 hours earlier (we are in Mountain Standard Time), so obviously it’s showing me the date in GMT.
I have tried displaying System.TimeZone.CurrentTimeZone.StandardName and it shows Mountain Time. This seems to be the region settings of the userid that is running the Biztalk Host.
Any ideas are appreciated. I was thinking about trying to set the culture or using the TimeZone class, but I’m not sure it will fix. Also, if I run the same code with the same date/time in regular C# it works normally, for example: