Max Albish

Max Albish

  • 1.6k
  • 142
  • 17.8k

How to set Windows calendar type in C#

Jul 24 2014 2:27 AM

Is there a way to set the system calendar type using C#?

I found this function from Kernel32.dll:

    BOOL SetCalendarInfo( _In_  LCID Locale, _In_  CALID Calendar, _In_  CALTYPE CalType, _In_  LPCTSTR lpCalData     );

How can I invoke this method within a C# application?


Answers (2)