DateTime curMarrCerDate = Utility.ToFormalDateFormat_D(TxtMarCertDate.Text);

public static DateTime ToFormalDateFormat_D(string strDate){

string[] dateStr = strDate.Split(SPLITER_2);strDate = string.Format(DATE_FORM, dateStr[1], dateStr[0], dateStr[2]);

return Convert.ToDateTime(strDate);}

public const char SPLITER_2 = ‘/’;