Oulook VSTO Add-in datetime now diferent format than system format RRS feed

  • Question

  • Hi,

    I'm stucked with a small problem. Can anyone explain me why the datetime format in Outlook is always for culture English(United States) en-US even if my fromat is German (Germany) de-DE? My system format is dd.MM.yyyy but I always get M/d/yyyy when I use datetime.now. I tryed with a clean VSTO project and I got same problem. I tried in a console application and there it behaves normally.



    Friday, November 6, 2020 7:22 AM