时间戳

public static long GetTimestamp(DateTime dateTime)
        {
            return (dateTime.Ticks - new DateTime(1970, 1, 1, 0, 0, 0, 0).Ticks) / 10000;
        }

  

讓眾人的薪枝構起這團熱情的火焰
原文地址:https://www.cnblogs.com/valeb/p/15133428.html