Time-to-Fill Vs Time-to-Hire

How to calculate time-to-fill and time-to-hire