public static DateTime ObjToDateTime(Obj time) { long epochNanoSecs = time.GetInnerLong(); return(epoch.AddTicks(epochNanoSecs / 100)); }
public static DateTime ObjToDate(Obj date) { long epochDay = date.GetInnerLong(); return(epoch.AddDays(epochDay)); }