You could use lastMotionData.t if you keep the lastMotionData object.