标签:amp sp 时间 new on ad c return rom
public static string ConvertToTimeStamp(DateTime DT)
{
return (TimeHelper.ConvertToTimeStamp(DT).ConvertLong() / 1000).ConvertInt().ConvertString();
}
public static DateTime FromUnixTime(long unixTime)
{
return new DateTime(1970, 1, 1).AddSeconds(unixTime).ToLocalTime();
}
标签:amp sp 时间 new on ad c return rom
原文地址:http://www.cnblogs.com/lyl6796910/p/3938279.html