Link Search Menu Expand Document

Date.ToLocaleDateString Method

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