How To Compute The Time In And Out