lib/libs.js
function clockTime (t, omitMS) {
                    var ms, secs, mins, hrs;

                    ms = t % 1000;
                    t = (t - ms) / 1000;

                    secs = t % 60;
                    t = (t - secs) / 60;

                    mins = t % 60;
                    hrs = (t - mins) / 60;

                    return libs.number.pad(hrs.toString(), 2)  + ':' + libs.number.pad(mins.toString(), 2) + ':' +
                           libs.number.pad(secs.toString(), 2) + ((omitMS === true) ? '' : '.' + libs.number.pad(ms.toString(), 3));
                }
function clockTime (t, omitMS) {
                    var ms, secs, mins, hrs;

                    ms = t % 1000;
                    t = (t - ms) / 1000;

                    secs = t % 60;
                    t = (t - secs) / 60;

                    mins = t % 60;
                    hrs = (t - mins) / 60;

                    return libs.number.pad(hrs.toString(), 2)  + ':' + libs.number.pad(mins.toString(), 2) + ':' +
                           libs.number.pad(secs.toString(), 2) + ((omitMS === true) ? '' : '.' + libs.number.pad(ms.toString(), 3));
                }
function clockTime ( t , omitMS ) { var ms , secs , mins , hrs ; ms = t % 1000 ; t = ( t - ms ) / 1000 ; secs = t % 60 ; t = ( t - secs ) / 60 ; mins = t % 60 ; hrs = ( t - mins ) / 60 ; return libs . number . pad ( hrs . toString ( ) , 2 ) + ':' + libs . number . pad ( mins . toString ( ) , 2 ) + ':' + libs . number . pad ( secs . toString ( ) , 2 ) + ( ( omitMS === true ) ? '' : '.' + libs . number . pad ( ms . toString ( ) , 3 ) ) ; }
Converts a number to the HH:MM:SS.MSEC time format
@param {Number} t The number object to operate on.
@memberof Number.prototype
@param {Boolean=} [omitMS=false] Whether or not to include the MS portion of the returned string
@returns {String} The formatted number, now a string.
@function
Converts a number to the HH : MM : SS . MSEC time format