C#构造时间

DateTime oldtime = Convert.ToDateTime("1900-1-1 00:00:00");//构造1900年1月1日

结果为:1900/1/1 0:00:00

 

 

转载于:https://www.cnblogs.com/zmxmiss/archive/2010/04/24/1719428.html

posted @ 2021-07-16 15:21  卡尔赛斯  阅读(63)  评论(0)    收藏  举报