The problem is that when reading it via wxAutomationObject.GetProperty, the format of date comes out as so:
Code: Select all
Mon Sep 7 12:00:00 2020
Code: Select all
2020/09/07 13:30:00
The locale on the wxAutomationObject is set to:
Code: Select all
mOutlookApplication.SetLCID(MAKELCID(MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), SORT_DEFAULT));