J
jai hanuman
this fails.
string sdt="20040330 930";
string[] fmts ={"yyyyMMdd Hmm"};
DateTime date = DateTime.ParseExact(sdt, fmts,
DateTimeFormatInfo.InvariantInfo,
DateTimeStyles.AllowLeadingWhite|DateTimeStyles.AllowTrailingWhite);
any workarounds? urgent, please!!!
TIA
string sdt="20040330 930";
string[] fmts ={"yyyyMMdd Hmm"};
DateTime date = DateTime.ParseExact(sdt, fmts,
DateTimeFormatInfo.InvariantInfo,
DateTimeStyles.AllowLeadingWhite|DateTimeStyles.AllowTrailingWhite);
any workarounds? urgent, please!!!
TIA