C# 读取excel日期时获取到数字转换成日期

string strDate= DateTime.FromOADate(Convert.ToInt32(data[i][7])).ToString("d");

strDate= DateTime.Parse(strDate).ToString("dd-MMM-yyyy");

posted @ 2016-08-09 10:41  霓裳依旧  阅读(6902)  评论(0编辑  收藏  举报