Date toLocaleTimeString()
syntax: |
date.toLocaleTimeString() |
return: |
string - locale-sensitive string representation of the time portion of the current date.
|
description: |
This function behaves in exactly the same manner as Date toTimeString(). This function is designed to take in the current locale when formatting the string. Locale reflects the time zone of a user.
|