Re: CultureInfo in a DateTimePicker?

  • Thread starter Thread starter Dmitriy Lapshin [C# / .NET MVP]
  • Start date Start date
D

Dmitriy Lapshin [C# / .NET MVP]

Roberto,

There probably is a better way, but you can extract the DateTime format
string from a CultureInfo instance and pass it to the DateTimePicker's
CustomFormat property.
Or, you can set the static CurrentCulture property on the CultureInfo class
to the desired CultureInfo instance. This will change current culture
settings for the current thread.
 
Back
Top