using System; using System.Collections.Generic; using System.Text; namespace Thousandto.Core.Base { /// /// 时间常量定义 /// public class TimeConstDefine { //一天的秒数 public const uint OneDaySecond = 24 * 3600; //以小时的秒数 public const uint OneHourSecond = 3600; //这个数据用于矫正服务器与客户端时间 public const ulong DaysFrom = (ulong)719528 * 24 * 3600; //时间为0的字符串 public const string StrTimeZero = "00:00"; //时间起始于1970年1月1日0点 public readonly static DateTime BeginAt = new DateTime(1970, 1, 1, 0, 0, 0); } }