工作总结 "2017年8月11日" 转换为datatime

string strr = "2017年8月11日";
Console.WriteLine((Convert.ToDateTime(strr)).ToString("yyyy-MM-dd"));

这样也行

posted @ 2018-01-16 15:17  ~雨落忧伤~  阅读(65)  评论(0编辑  收藏  举报