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

Show secods

1 Answer 55 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Gilbert van Veen
Top achievements
Rank 1
Gilbert van Veen asked on 17 Feb 2010, 10:36 AM
Hello Telerik friends,

I am using the TimePicker to let the user select a time. The time which is selected is used for a duration and therefore it would be nice if it is also possible to show seconds.

Now I am getting only the HH:MM details but I would like also to have the seconds. Is this possible.

Show I should be able to select a time like:  10:05:05 which means 10 hours, 5 minutes and seconds.

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 18 Feb 2010, 06:04 PM
Hello Gilbert,

Thank you for contacting us.

You can format the time and show the seconds in the TimePicker through the culture of the control, for example:

public MainPage()
{
    InitializeComponent();
    timePicker.Culture = new System.Globalization.CultureInfo("en-US")
    {
        DateTimeFormat = new System.Globalization.DateTimeFormatInfo()
        {
            ShortTimePattern = "h:mm:sstt"
        }
    };
}

Hope this helps.

If you have further questions please feel free to contact us again.

Kind regards,
Konstantina
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.
Tags
TimePicker
Asked by
Gilbert van Veen
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or