Get stratum and display delta time

Convert ms to HH:mm:ss:
http://stackoverflow.com/questions/1322732/convert-seconds-to-hh-mm-ss-w
ith-javascript