I\'ve created this script to calculate the date for 10 days in advance in the format of dd/mm/yyyy:
var MyDate = new Date(); var MyDateString = new Date(); M
You can define a "str_pad" function (as in php):
function str_pad(n) { return String("00" + n).slice(-2); }