setting the date format of the calendar in a datetimepicker
C#
3
Posts
2
Posters
0
Views
1
Watching
-
hi there!:) can i know how to set the date format of the calendar in a datetimepicker?:^) actually i know it can be set in the regional settings of your machine but how about during run-time? any suggestions or ideas will be very much appreciated!:) tnx in advance! :)
-
hi there!:) can i know how to set the date format of the calendar in a datetimepicker?:^) actually i know it can be set in the regional settings of your machine but how about during run-time? any suggestions or ideas will be very much appreciated!:) tnx in advance! :)
-
Hi public void SetMyCustomFormat() { // Set the Format type and the CustomFormat string. dateTimePicker1.Format = DateTimePickerFormat.Custom; dateTimePicker1.CustomFormat = "MMMM dd, yyyy - dddd"; } Hope it helps