标签:public mil timestamp ISE get time 获取时间戳 new returns
/// <summary>
/// 获取时间戳
/// </summary>
/// <returns></returns>
public static string GetTimeStamp()
{
TimeSpan ts = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0);
return Convert.ToInt64(ts.TotalMilliseconds).ToString();
}
标签:public mil timestamp ISE get time 获取时间戳 new returns
原文地址:https://www.cnblogs.com/wugh8726254/p/12701445.html