//long ticks = (DateTime.Parse(DateTime.Now.ToString(CultureInfo.InvariantCulture)).ToUniversalTime().Ticks - 621355968000000000) / 10000000;
//long timeticks = long.Parse("621355968000000000") + ticks * 10000000;
//DateTime time = new DateTime(timeticks).AddHours(8);//相差8小时
参考:
http://tool.chinaz.com/Tools/unixtime.aspx
时间: 2024-11-10 08:37:20