lib/libs.js
function clockTime (d, omitMS) {
                    if(!(d instanceof Date)) return d;
                    return libs.number.clockTime(d.getTime(), !!omitMS);
                }
function clockTime (d, omitMS) {
                    if(!(d instanceof Date)) return d;
                    return libs.number.clockTime(d.getTime(), !!omitMS);
                }
Converts a date to the HH:MM:SS.MSEC time format
@param {Date} The date object to operate on.
@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