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

24 hour clock

3 Answers 207 Views
Input
This is a migrated thread and some comments may be shown as answers.
Daniel Tharp
Top achievements
Rank 1
Daniel Tharp asked on 01 May 2008, 05:47 PM
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.

3 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 02 May 2008, 07:50 AM
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
0
acola
Top achievements
Rank 1
answered on 11 Aug 2008, 06:28 PM
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.
0
Missing User
answered on 14 Aug 2008, 09:38 AM
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.
Tags
Input
Asked by
Daniel Tharp
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
acola
Top achievements
Rank 1
Missing User
Share this question
or