Parse failed when provided string is more than 9 on days

后端 未结 0 1863
眼角桃花
眼角桃花 2020-11-27 11:52

I am trying to turn string to datetime.

try{
    dateValue = Convert.ToDateTime(DateTime.Parse(dateData).ToString("dd/MM/yyyy"));
}catch (Exception          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题