public static long currentTimeMillis()
{ System.DateTime dt = new System.DateTime(1970, 1, 1, 0, 0, 0, 0); System.TimeSpan lTime = (System.TimeSpan)(System.DateTime.Now - dt); return (long)lTime.TotalMilliseconds - 28800000; }本文共 226 字,大约阅读时间需要 1 分钟。
public static long currentTimeMillis()
{ System.DateTime dt = new System.DateTime(1970, 1, 1, 0, 0, 0, 0); System.TimeSpan lTime = (System.TimeSpan)(System.DateTime.Now - dt); return (long)lTime.TotalMilliseconds - 28800000; }转载地址:http://cbyva.baihongyu.com/