We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Date time Picker Show the time only

Thread ID:





72722 Apr 2,2008 06:42 AM UTC Apr 10,2008 11:58 AM UTC WinForms 1
Tags: Tools
Asked On April 2, 2008 06:42 AM UTC

I want enter the user time only, in hh:mm format. I want to use updown buttons also.

What would be the best control for this..?


SubhaSheela R [Syncfusion]
Replied On April 10, 2008 11:58 AM UTC

Hi Apwickrama,

Thanks for your interest in Syncfusion products.

You can use DateTimePickerAdv for enter the user time since it is designed especially for entering Date and Time. You can customize it to allow the user to enter the time in any format. Below is the code snippet:

this.dateTimePickerAdv1.Format = DateTimePickerFormat.Custom;
this.dateTimePickerAdv1.CustomFormat = "hh:mm";

Here is the sample:


Please let me know if it helps.

Subhasheela R


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon