It worked
Thanks Thi
"Truong Hong Thi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Naeem,
>
> You can set DateTimePicker.Format to Custom at initilization (e.g, in
> FormLoad, or in constructor after InitializeComponents). For example:
>
> picker.Format = DateTimePickerFormat.Custom;
> picker.CustomFormat = DateTimeFormatInfo.CurrentInfo.LongDatePattern;
>
> Thus at initialization, the picker's format will be set as defined in
> Regional Settings. After you changed it, the picker is not affected
> (cos it uses custom format). Next time you run the app, it is
> initialized again and match what you set in regional settings.
>
> Hope this helps,
> Thi
>