This is a migrated thread and some comments may be shown as answers.

DatePicker Custom Date Format

1 Answer 117 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Dbone
Top achievements
Rank 1
Dbone asked on 30 Jun 2010, 10:38 PM
I currently have a requirement to display dates in our DatePicker Control in the following format: "YYYY/MM/DD".  Is it possibly to customize dates in the DatePicker control.

Thanks

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 06 Jul 2010, 09:14 AM
Hi Dbone,

Thank you for contacting us.

To customize the date format of the DatePicker you can try setting its Culture property, for example like so:

datePicker.Culture = new System.Globalization.CultureInfo("en");

For more information about CultureInfo class and the possible formats of the date you can refer to these articles:

If you need further assistance please feel free to contact us again.

All the best,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DatePicker
Asked by
Dbone
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or