"Terry" <ne*******@whiteHYPHENlightDOTme.ukschrieb:
My system short date format is dd/mm/yy.
The DateTimePicker returns mm/dd/yyyy hh:mm:ss PM.
I need to get this value formated into dd/mm/yyyy regardless of the system
short date format, what do I need to use please.
The DateTimePicker control's 'Value' property returns a 'Date' instance,
which you can format by calling its 'ToString' method and passing
appropriate formatting options to this method.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>