Hi,
How to get Just a time format with DateTimeEditor?
I've tried to put FormatString in "t" but i get 01/01/2008 00:00:00I've tried to put MaskInpu to {time} i get the same result...
Please help.
Thanks
Hello,
Hope they will be helpful for those who are searching for the valid info. Also I wanted to ask: how can I change the form size in case of label text overflow?
Okay, thanks.
Hi Roger,
You could try a DataFilter, but I'm not sure if that will work.
You would probably be better off using the Parse and Format methods of the Binding - assuming that you don't need the Date portion in your code.
This control is bound to a datasource so I want the value to be written to the DB with just the time. Would I need to use a datafilter to do this?
You could retrieve the needed information by using the following code:
((DateTime)ultraMaskedEdit1.Value).ToShortTimeString();
Please feel free to let me know if I misunderstood you or if you have any other questions.