SyntaxFix
Write A Post
Hire A Developer
Questions
This may help with the problem:
var d = new Date();_x000D_ _x000D_ var options = { _x000D_ day: 'numeric',_x000D_ month: 'long', _x000D_ year: 'numeric'_x000D_ };_x000D_ _x000D_ console.log(d.toLocaleDateString('en-ZA', options));