c# 轉換成時間類型

if (rngFound.Value.ToString().Contains("/")) { closingdate = rngFound.Value; } else if (rngFound.Value.ToString().Contains("-")) { closingdate = Convert.ToDateTime(rngFound.Value.ToString()); } else {
相關文章
相關標籤/搜索