日期:2014-05-17 浏览次数:20833 次
//格林威治时间 DateTime dtGMT; TimeSpan ts3; double dtime = 0; dtGMT = Convert.ToDateTime("1970-1-1 00:00:00"); ts3 = DateTime.Now.Subtract(dtGMT).Duration(); dtime = ts3.TotalSeconds;