Link Search Menu Expand Document

Date.ToLocaleString Method

Explanation Returns the date and time as a string in locale format.
Currently, only Japanese-specific formats are supported.
Call format var text = d.ToLocalString ()
Return value Locale-formatted date and time string
Argument None
Exception None
Example of use
var d = new Date ();
print (d.ToLocaleString (), "¥ n");
Related item