Raddatepicker DisplayDateformat custom

2 posts, 1 answers
  1. Mark
    Mark avatar
    37 posts
    Member since:
    Mar 2014

    Posted 23 Jul 2014 Link to this post


    Im looking for a way displaying selected date from datepicker in the format  YearWeekDaynumber

    Ex. 14023  (2014 week:2 weekdaynumber:3)

    can this be done? I have tried replacing DisplayDateformat  so far without luck.


  2. Answer
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 24 Jul 2014 in reply to Mark Link to this post

    Hi Mark,

    As far as my knowledge RadDateTiemPicker SelectedDate property represents a DateTime object. So the DateTime object will expect the values for year, month, day, hour, minute, second, millisecond and calendar. So it is not possible to give the week and week day number. One suggestion is that you can access the week and week day number from the selected date.

    Thanks ,
Back to Top