SyntaxFix
Write A Post
Hire A Developer
Questions
var today = new Date(); _x000D_ _x000D_ var formattedtoday = today.getDate() + '-' + (today.getMonth() + 1) + '-' + today.getFullYear();_x000D_ _x000D_ alert(formattedtoday);