This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 在DOT NET 里如何把STRING 转化成DATETIME . 执行DateTime.ParseExact("1999-01-01 12:13:12","YYYY-MM-dd HH:mm:ss",null); 出错Datetime d1=DateTime.ParseExact("1999-01-01 12:13:12","YYYY-MM-dd HH:mm:ss",null);
出错信息:
String was not recognized as a valid DateTime.
-bobo123(bobo);
2004-11-16
{148}
(#1984355@0)
-
DateTime d1=DateTime.ParseExact("1999-01-01 12:13:12","yyyy-MM-dd HH:mm:ss",null);
-ztiger(big tiger);
2004-11-16
(#1984374@0)