Convert System Date
public static string ConvertSystemDate(string date)
{
try
{
string month = date.Split('/')[1];
string day = date.Split('/')[0];
string year = date.Split('/')[2];
return month + "/" + day + "/" + year;
}
catch (Exception ex)
{
return "1/1/1900";
}
}
{
try
{
string month = date.Split('/')[1];
string day = date.Split('/')[0];
string year = date.Split('/')[2];
return month + "/" + day + "/" + year;
}
catch (Exception ex)
{
return "1/1/1900";
}
}
Comments
Post a Comment