I am trying to extract datetime info from
"2012/04/03 10:06:21:611747"
using format
String dateformat = @"yyyy/mm/dd hh:mm:ss:ffffff";
Getting an exception - any help is appreciated.
Full code
String dateformat = @"yyyy/mm/dd hh:mm:ss:ffffff";
readonly CultureInfo _provider = CultureInfo.InvariantCulture;
DateTime dateTime = DateTime.ParseExact(line, dateformat, _provider);