1. 时间戳转 DateTime
static DateTime GetServerNow(ulong serverTime) { DateTime dateTimeStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1)); return dateTimeStart.AddSeconds(serverTime); }