Forum Discussion

KevinZesi's avatar
KevinZesi
Occasional Contributor
5 years ago

Date.toLocaleString not working

Hello there,   I have a question regarding the Date object in JavaScript. I want to use the following: function myFunction() { ... var myDate = new Date(year, month-1, day); var options = ...