Javascript - today’s date #javascript
// get today's date
var date = new Date();
var month = date.getMonth() + 1;
var day = date.getDate();
// var year = date.getFullYear();
var todays_date = (('' + month).length < 2 ? '0' : '') + month + '-' + (('' + day).length < 2 ? '0' : '') + day;