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();
}