Tolocaletimestring Without Seconds, To display only the time, you can use the toLocaleTimeString () method.