Saturday, July 11, 2009

Great way to convert any time format to MM/dd/yyyy

Just found the coolest way to this the time conversion.

DateTime dt = (DateTime)(TypeDescriptor.GetConverter(new DateTime(1990,5,6)).ConvertFrom(strDate));

No comments: