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

DatetimePicker Time Format

6 Answers 816 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
mrdcpwns
Top achievements
Rank 1
mrdcpwns asked on 10 Feb 2010, 09:42 AM
I have a datetime picker that has a time format.
I'm wondering if it is possible to:

1. remove the seconds part, so it would only be HH:MM AM/PM?

2. limit the time that can be chosen (e.g. 8 AM to 5 PM)

2. set the interval of increasing and decreasing the Minutes part to 30 instead of 1?


EDIT:

Nevermind Question # 1.

CustomFormat in the properties gets the job done.

6 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 12 Feb 2010, 08:36 AM
Hi mrdcpwns,

Yes, you can remove the seconds part by using CustomFormat property of RadDateTimePicker. You should also set the Format property of the control to Custom. Unfortunately currently RadDateTimePicker does not support features #2 and #3. We will consider implementing these features in the future versions of RadDateTimePicker. 
Please excuse us for any inconveniences we may have caused you. If you need more information, feel free to contact us.

Kind regards,
Boyko Markov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Thomas Ossowski
Top achievements
Rank 1
answered on 12 Apr 2010, 01:35 PM
Hi,

I support this feature request.

It would be quite helpful when programming business applications.

All the best,
T
0
Boyko Markov
Telerik team
answered on 15 Apr 2010, 09:44 AM
Hello Thomas Ossowski,

Thank you for contacting us.

These features are already added in our TODO list and we will consider implementing them in future releases of RadConrols for WinForms, although they are still not scheduled for a specific release yet.

Please feel free to post any questions and feature requests regarding our products. We  will greatly appreciate this.
 

Best wishes,
Boyko Markov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Peter
Top achievements
Rank 1
answered on 07 Dec 2012, 03:09 PM
Hi,

are there any changes on this topic? 

Best,

Peter 
0
Plamen
Telerik team
answered on 12 Dec 2012, 03:40 PM
Hello Peter,

Thank you for writing.

1. Here is how to achieve the HH:MM AM/PM format.
radDateTimePicker1.Format = DateTimePickerFormat.Custom;
radDateTimePicker1.CustomFormat = "hh:mm tt";

Features #2 and #3 are still not implemented:
2. limit the time that can be chosen (e.g. 8 AM to 5 PM)
3. set the interval of increasing and decreasing the Minutes part to 30 instead of 1


As my colleague Boyko has mentioned these feature are added in our list, but we still do not have a specified time frame for them. They are added to our Public Issue Tracker as well and you can add your vote for them here.

Greetings,
Plamen
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Peter
Top achievements
Rank 1
answered on 14 Dec 2012, 09:25 AM
Hello Plamen,

thank you very much for your answer and the Public Issue Tracker link. 

Best,

Peter 
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
mrdcpwns
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Thomas Ossowski
Top achievements
Rank 1
Peter
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or