Mega Code Archive
Categories
/
JavaScript Tutorial
/
Date
Date toLocaleString()
Syntax date.toLocaleString() The toLocaleString() method returns a string representation of the Date object in the local time zone. The format of the string depends on the user's date and time format settings.