K
Kim Hellan
I have a simple string in the format "DD-MM-YY hh:mm:ss", that I need to
convert to a DateTime value.
I know this is a standard problem, but please don't just link to all the
MSDN pages regarding Parse() and ParseExact().
I've been there and read all the information about using IFormatProviders,
DateTimeStyles, CultureInfo.......
Bottom line is that I can't get it working, so could someone please just
post 5-10 lines of working code that is needed to perform this simple
conversion?
Thank You,
Kim
convert to a DateTime value.
I know this is a standard problem, but please don't just link to all the
MSDN pages regarding Parse() and ParseExact().
I've been there and read all the information about using IFormatProviders,
DateTimeStyles, CultureInfo.......
Bottom line is that I can't get it working, so could someone please just
post 5-10 lines of working code that is needed to perform this simple
conversion?
Thank You,
Kim