|
-
Mar 14th, 2006, 08:05 AM
#1
Thread Starter
PowerPoster
[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?
Last edited by Hack; Mar 15th, 2006 at 07:45 AM.
Reason: Added [RESOLVED] to thread title and green "resolved" checkmark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|