Adding TimeStamps to ping sensor

Hi there i am currently in the middle of a project using two PING sensors. i need to have the timestamps aswell so i can get the speed of an object and also be able to work out the velocity. Any Help or suggestions please.

Thanks

millis () ? micros () ?

Millis Thank you.