function TimeClip(t) { if (isNaN(t)) { return (Number.NaN); } if (Math.abs(t) > 8.64e15) { return (Number.NaN); } return (ToInteger(t)); }