I am using .NET compact Framework, more precisely using Windows mobile 6.0 and was trying to convert a string to datetime but seems it is not supported. Any help would be appreciated.
Dim provider AS CultureInfo = New CultureInfo("en-US")
Dim dt AS DateTime = Convert.ToDatetime("5/2/2013 5:15:03 PM")
Getting a formatexception issue.
Please see the following .NET Fiddle here.
Output: