Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
Format date to get only hour
posted

Hello guys,

I'm working on a project using Java with web service to communicate with the DB and C# to retrieve/update data from DB thanks to the Web service in Java.
Well, I have an UltraGrid and two of the columns are DateTime field. Currently, the two fields are displaying the date formatted like that : dd-mm-yyyy hh:mm:ss.
And I would like to display this : hh:mm:ss only.
I am a rookie on C# or .NET.
I also would like to know if there is a picker for the hours like there is one for the date ?
Heres's a screen  :

Thank you !

EDIT: I set the format to HH:mm:ss. When I run the application it shows me the time like 00:11:00 (so it's fine) but when I click on the fiel to edit it it shows me the date and not the time anymore. I do not mind to see the date, I care only about the time. 

EDIT 2: It's okay for the seing only the time. Now my query is about the picker time to editing the field. There is something like that ?