Hi All,
I am using Visual Studio 2015 Visual Basic Net with a target framework 4.6.1
The parseexact function is returning a format exception error whereas all parameters are well set ! I really dont see what is missed here :(
Really appreciated some help
Dim frFR As New CultureInfo("fr-FR")
MySFromDB = "Dim 15 Jui 2008 17:30 -06:00"
Form = "ddd dd MMM yyyy hh:mm zzz"
Try
result = Date.ParseExact (MySFromDB, Form, frFR) ' #6/15/2008 05:30:00 PM#
Catch ex As Exception
MsgBox("Hi")
End Try
I am using Visual Studio 2015 Visual Basic Net with a target framework 4.6.1
The parseexact function is returning a format exception error whereas all parameters are well set ! I really dont see what is missed here :(
Really appreciated some help
Dim frFR As New CultureInfo("fr-FR")
MySFromDB = "Dim 15 Jui 2008 17:30 -06:00"
Form = "ddd dd MMM yyyy hh:mm zzz"
Try
result = Date.ParseExact (MySFromDB, Form, frFR) ' #6/15/2008 05:30:00 PM#
Catch ex As Exception
MsgBox("Hi")
End Try
Comment