[RESOLVED] DateTime picker format
Hi.
I am using a datetime picker for mobile device (.NET CF 2.0) but I guess the same thing can be done on the full framework .NET 2.0
I have made a customformat on this datetime picker to show me the date and time together:
dd/MM/yyyy HH:MM:ss
when it comes to binding values (an object date time) to the UI datetime picker, it does this partially - it seems it successfully modify the dd/MM/yyyy correctly but when it comes to the time element I always get this:
HH:03:42
so if current time is 13:25:01 - I always get:
13:03:00
When debugging - I can see the datetime picker SUCCESSFULLY changing the value to the object's datetime value (yes, the date and time are being set successfully in the .Value property of the date time picker) but when viewing it visually, I do not see the correct set value
any ideas? am I doing something incorrect?
Re: DateTime picker format
dd/MM/yyyy HH:MM:ss
Upper case 'M' is for month. Lower case 'm' is for minute.
Re: DateTime picker format