'toLocaleString()' Example : toLocaleString « Javascript Methods « JavaScript Reference

'toLocaleString()' Example

    
<html>
<body>
<button onclick="var myDate = new Date(); 
alert(myDate.toLocaleString());">
Locale String
</button>
</body>
</html>

    
      
      








Related examples in the same category

1.'toLocaleString()' Syntax Parameters and Note
2.'toLocaleString()' is applied to