How to configure the DateTimePicker control to accept 24:00?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a DateTimePicker control on a Windows form. What I want is to
configure it to recognise 24:00:00 as a valid time. I only intend to use
the return value as a string (i.e. not DateTime variable)

How can I do this?

Many thanks.
 
Xing Zhou said:
I have a DateTimePicker control on a Windows form. What I want is to
configure it to recognise 24:00:00 as a valid time. I only intend to
use
the return value as a string (i.e. not DateTime variable)

How can I do this?

Many thanks.

I don't believe it's possible. The standard representation for what you want
is 00:00:00 as the 24 hour clock moves past 23:59:59.
 
Back
Top