I have a datetimepicker field with properties format set to time. I can find no reference anywhere on how to set the value of the time. i.e. today at 5 pm. it either defaults to 12:00:00 or I can set it to Now. But anything else? Can't figure out how. Any help is appreciated.
Thanks,
Bill P.

There's a DateTime constructor that takes year, month, day, hour, minute, second.

Thank you so much. I will try it.

Regards,
Bill P.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.