How do you determine the difference in time between the arrival of the primary (P) wave and the arrival of the secondary (S) wave during an earthquake?