C
Chuck Hecht
Hello,
I am trying to convert a string ("080714") to a date 08/07/14 using the format yyMMdd
mydate is declared as a date
grpod_date is the string 080714
I am getting the error "A first chance exception of type 'System.FormatException' occurred in mscorlib.dll"
on the following line.
mydate = DateTime.ParseExact(gProd_date, "yyMMdd", New Globalization.CultureInfo("en-US"))
any guidance would be appreciated
Thank you
chuck
I am trying to convert a string ("080714") to a date 08/07/14 using the format yyMMdd
mydate is declared as a date
grpod_date is the string 080714
I am getting the error "A first chance exception of type 'System.FormatException' occurred in mscorlib.dll"
on the following line.
mydate = DateTime.ParseExact(gProd_date, "yyMMdd", New Globalization.CultureInfo("en-US"))
any guidance would be appreciated
Thank you
chuck