Robin,
"Robin Tucker" <id*************************@reallyidont.com> schrieb:
I'm using the date/time picker to allow users to choose a date or a time.
However, as the control modes only allow one or the other, I'm scratching
my head as to how to allow the one control to allow both a date and a time
selection-
Set the datetimepicker's 'Format' property to 'Custom' and assign a custom
format to its 'CustomFormat' property.
..NET Framework Developer's Guide -- Standard DateTime Format Strings
<URL:http://msdn.microsoft.com/library/en-us/cpguide/html/cpconstandarddatetimeformatstrings.asp>
..NET Framework Developer's Guide -- Custom DateTime Format Strings
<URL:http://msdn.microsoft.com/library/en-us/cpguide/html/cpconcustomdatetimeformatstrings.asp>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>