hh:mm:ss and milliseconds using Momentjs

To add the number of milliseconds to a date generated with Momentjs, use a SSS string:

javascript
let date = moment().format('hh:mm:ss SSS'); // 01:17:18 960

Hi, I'm Erik, an engineer from Barcelona. If you like the post or have any comments, say hi.