a simplified time duration calculator