Link Search Menu Expand Document

Date.ToLocaleTimeString Method

Explanation Returns the time as a string in locale format. The date part is not included.
Currently, only Japanese-specific formats are supported.
Call format var text = d.ToLocaleTimeString ()
Return value A string representing the time in the locale format
Argument None
Exception None
Example of use
var d = new Date ();
print (d.ToLocaleTimeString (), "¥ n");
Related item