SelectedDate wrong format

3 posts, 0 answers
  1. Daniel Wood
    Daniel Wood avatar
    6 posts
    Member since:
    May 2006

    Posted 07 Dec 2010 Link to this post

    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. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 09 Dec 2010 Link to this post

    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
  3. DevCraft banner
  4. Daniel Wood
    Daniel Wood avatar
    6 posts
    Member since:
    May 2006

    Posted 09 Dec 2010 Link to this post

    Cheers thats what I though
    Daniel
Back to Top