private static DateTime GetConvertTime(long ltime) { DateTime dt_time=new DateTime(1970,1,1,8,0,0,0); long time_1970=dt_time.Ticks; long time_tick=time_1970+ltime*TimeSpan.TicksPerSecond; DateTime dt=new DateTime(time_tick); return dt; }
private static DateTime GetConvertTime(long ltime) { DateTime dt_time=new DateTime(1970,1,1,8,0,0,0); long time_1970=dt_time.Ticks; long time_tick=time_1970+ltime*TimeSpan.TicksPerSecond; DateTime dt=new DateTime(time_tick); return dt; }