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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top