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

SelectedDate wrong format

2 Answers 41 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Daniel Wood
Top achievements
Rank 1
Daniel Wood asked on 07 Dec 2010, 11:53 AM
Hi
I am using a datetimepicker and have formatted it so it displays the data in the uk format ie dd/mm/yyyy.
 However the selecteddate and selectedvalue is passing the date back as mm/dd/yyyy which for certain dates sql is refusing.
is it possible to set  the selecteddate value to be passed in the correct format.
cheers
Daniel

2 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 09 Dec 2010, 09:36 AM
Hi Daniel Wood,

You have to perform a custom conversation as the default format of the core DateTime struct is as follows - "mm/dd/yyyy".

All the best,
Kaloyan
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Daniel Wood
Top achievements
Rank 1
answered on 09 Dec 2010, 10:09 AM
Cheers thats what I though
Daniel
Tags
DateTimePicker
Asked by
Daniel Wood
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Daniel Wood
Top achievements
Rank 1
Share this question
or