JanaGanaMana
Register
Login
convert string to date yyyymmdd
spam stuff
Safari Books are down
రాక్షసుడు rakshasudu
Spam Emails
Thanksgiving Day
Regex regex = new Regex(@"^\d{8}$", RegexOptions.Compiled);
if (!strVal.IsNullOrEmpty() && regex.Match(strVal).Success)
{
return DateTime.ParseExact(strVal, "yyyyMMdd", CultureInfo.InvariantCulture);
}