我用
System.DateTime currentTime = new System.DateTime(); 
string time=currentTime.ToString("f"); 把年月日时间读到time串里,为什么时间都是0001年1月1日 0:00