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

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.
 
P

Peter van der Goes

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top