The script is linked to here:
The results are in meters but you could easily add a constant scale factor at the end to convert to time units if needed.