The arithmetic equation for determining the time taken