public static int Rtimestamp()
{
#region 时间戳
DateTime _dtStart = new DateTime(1970, 1, 1, 8, 0, 0);
DateTime dateTime = DateTime.Now;
long sjc = Convert.ToInt64(dateTime.Subtract(_dtStart).TotalSeconds);
#endregion
return Convert.ToInt32(sjc);
}
winform 时间戳
最新推荐文章于 2024-03-18 16:11:18 发布