Date | getColonTimeFromDate
Mon Apr 04 2022 19:52:22 GMT+0000 (Coordinated Universal Time)
Saved by @massa
Returns a string of the form HH:MM:SS from a Date object. Use Date.prototype.toTimeString() and String.prototype.slice() to get the HH:MM:SS part of a given Date object.
https://30secondsofknowledge.com/
Comments