79171305

Date: 2024-11-08 19:22:37
Score: 0.5
Natty:
Report link

I don't know the root of the problem with VB not auto recognizing it's a date, but this sample should help you.

 Dim Date1 As DateTime = DateTime.ParseExact(dtrow(1).ToString(), "yyyy-MM-dd", 
        System.Globalization.DateTimeFormatInfo.InvariantInfo)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: joaocarlosib