📅  最后修改于: 2022-03-11 14:49:13.439000             🧑  作者: Mango
private static readonly DateTime begin = new DateTime
(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public static long CurrentTimeMillis()
{
return (long) (DateTime.UtcNow - begin).TotalMilliseconds;
}