I have this date that I get from jquery
Wed Oct 30 2013 09:05:17 GMT-0800 (Hora estándar Pacífico (México))
what i get this function
var date = new Date(); var newdate = new Date(date); newdate.setDate(newdate.getDate() + 7); var nd = new Date(newdate); $('#vigencia_receta_11').val(nd);
But I only need the date, not the time, I want to format the date as "DD / MM / YYYY"
source share