I expected this to work:
Public Shared Function ToShortDateTimeString(ByVal dateIn As Date) As String
Return dateIn.ToShortDateString & " " & dateIn.ToShortTimeString
End Function
The date gets formatted according to local settings, but not the time.
I seen API examples but, dangit, this should be easy and built into the framework.
Why is it working for the date but not the time?
For example, check out my regional settings for displaying time:
http://www.screencast.com/users/Dokmanc/folders/Jing/media/cbc07eeb-1f9c-4b27-b535-91b8acbffd8e
However, the above function returns: "11/17/2009 8:29:32 PM"