RadDatePicker's input's DateFormat

2 posts, 0 answers
  1. mark
    mark avatar
    41 posts
    Member since:
    Sep 2006

    Posted 18 Nov 2008 Link to this post

    Hey there,
    How does one go about changing the DateFormat for the raddatepicker client side using javascript.
    Thanks in advance
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 Nov 2008 Link to this post

    Hi Mark,

    You can set the Date and Time format of DateTimePicker by using following method.

    <script type="text/javascript">
        var datetimepicker= $find("<%= RadDateTimePicker1.ClientID %>");  
        datetimepicker.get_dateInput().set_displayDateFormat("dd/MM/yyyy ");  

    You can also refer to the following link for more information about date format patterns.
    Date Format Patterns

  3. DevCraft R3 2016 release webinar banner
Back to Top