24 hour clock

4 posts, 0 answers
  1. Daniel Tharp
    Daniel Tharp avatar
    13 posts
    Member since:
    May 2006

    Posted 01 May 2008 Link to this post

    Hello,

    This is just a quick question. Can the RadDateInput control in the new RadControls for Ajax suite be set to a 24 hour clock. Right now I see that it will convert it to the correct time if you put in a 24 hour time.
  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 02 May 2008 Link to this post

    Hi Daniel,

    The DateInput control display can be configured through the DateFormat and DisplayDateFormat properties. We have outlined the supported formats here.

    You may also be interested in the RadTimePicker control, which allow the users to pick and display time only:

    http://www.telerik.com/demos/aspnet/prometheus/Calendar/Examples/DateTimePicker/Overview/DefaultCS.aspx

    I hope you find the above information helpful.

    Best wishes,
    Konstantin Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. acola
    acola avatar
    15 posts
    Member since:
    Aug 2006

    Posted 11 Aug 2008 Link to this post

    I am using the Q3 2007 release (which I think was the latest release when this thread was first posted), but when I set my date time picker's DateFormat and DisplayDateFormat to "M/d/yyyy HHmm", it still converts times to 12-hour format. What am I doing wrong? The time picker is correctly displaying times in HHmm format, but the input box is not.
  4. Plamen Peshev
    Admin
    Plamen Peshev avatar
    885 posts

    Posted 14 Aug 2008 Link to this post

    Hi acomes,

    Please find attached a sample web application that demonstrates the needed approach. Let me know if you have other question and/or problems.

    Best wishes,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top