By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,312 Members | 1,323 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,312 IT Pros & Developers. It's quick & easy.

DateTimePicker rollover & carry

P: n/a
Hello,

I have a DateTimePicker set to the custom format HH:mm:ss. (I used the
custom format to avoid the AM/PM part, even though my OS is set up for the
12-hour time format.) It works fine except that when the number of seconds
are incremented past 59 or are decremented below 00, it does not carry into
the minutes field. Similarly for the minutes field carrying into the hours
field. I assume this is something I must do myself within the ValueChanged
event. I figure the way to do it is to keep a copy of the the previous
values then compare and update the control each time a ValueChanged event
occurs. Or, is there a nice clean built-in feature that does this?

Thanks,
Ray
Apr 23 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.