newDate = new Date(),
day = newDate.getDate(),
month = newDate.getMonth(),
year = newDate.getYear();
return day + "" + (month+1) + "" + year;
I should note that this has only been tested in IE8. I'm not sure if it works in other browsers as I don't currently have access to anything else (oh, the horror).
The only part I'm concerned about failing in another browser is the 'window.external.AddFavorite' part.