function today(i) { var today = new Date(); var dd = today.getDate()+1; var mm = today.getMonth()+1; var yyyy = today.getFullYear(); today = dd+'/'+mm+'/'+yyyy; return today; }