NPIO记录

 

NPIO记录

var ActualShippingDate = string.Empty;
if (row.GetCell(5) != null)
{
if (row.GetCell(5).CellType == CellType.Numeric)
{
var tpActualShippingDate = row.GetCell(5).NumericCellValue;
ActualShippingDate = DateTime.FromOADate(tpActualShippingDate).ToString("yyyy-MM-dd HH:mm:ss");
}
else
{
ActualShippingDate = row.GetCell(5).ToString();
}
}

posted @ 2021-09-23 14:26  vba是最好的语言  阅读(50)  评论(0编辑  收藏  举报