Javascript ToTimeString() Function

The toTimeString() function of date object return time part of date as string. Use it for example to get time part of date as string.

Syntax

Javascript ToTimeString() Function Example

This will produce following result