G
Gary Rynearson
I am looking to turn the string "20051211 14:22:33" into a dateTime variable
whose date is December 11, 2005 and time is 2:22:33 PM. I have tried
several approaches, I MUST be missing something simple. I have spent more
time on this than anyone should have to.
DateTime myDateTime = DateTime.Parse ("20051211 14:22:33")
I get a "Syste;m.FormatExcption: String was not recognized as a valid
DateTime" error.
whose date is December 11, 2005 and time is 2:22:33 PM. I have tried
several approaches, I MUST be missing something simple. I have spent more
time on this than anyone should have to.
DateTime myDateTime = DateTime.Parse ("20051211 14:22:33")
I get a "Syste;m.FormatExcption: String was not recognized as a valid
DateTime" error.