Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Dates
toLocaleTimeString() returns the time portion of a date, as a string, using locale conventions: