Microsoft.VisualBasic.DateAndTime.Timer 与 DateTime.Now.TimeOfDay.TotalSeconds 相当

如题,示例如下:

Console.WriteLine(DateTime.Now.TimeOfDay.TotalSeconds);    

Console.WriteLine(Microsoft.VisualBasic.DateAndTime.Timer.ToString());           

//Console.WriteLine(dt.Hour * 60.0 * 60.0 + dt.Minute * 60.0 + dt.Second);

//Console.WriteLine(dt.TimeOfDay);            

 

posted on 2015-04-29 00:26  BobLiu  阅读(1245)  评论(0编辑  收藏  举报