does any one know how to convert string into date according to user's culture
i am using this code
DateTime.Parse("2-7-1997", CultureInfo.InvariantCulture);
it works fine since my culture is set to us
but if i pass
DateTime.Parse("23-7-1997", CultureInfo.InvariantCulture);
it throws Format exception
String was not recognized as a valid DateTime.
Is there any thing which converts string into date according to user culture