if (rngFound.Value.ToString().Contains("/"))
{
closingdate = rngFound.Value;
}
else if (rngFound.Value.ToString().Contains("-"))
{
closingdate = Convert.ToDateTime(rngFound.Value.ToString());
}
else
{
closingdate = DateTime.ParseExact(rngFound.Value2.ToString(), "yyyyMMdd", System.Globalization.CultureInfo.CurrentCulture);
}

相关文章:

  • 2021-09-19
  • 2021-12-10
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案