//use Puts the date in a string called strDate which can be used elsewhere
month = new Array(12);
day = new Array(7);
month[0]="Januari"
month[1]="Februari"
month[2]="Mars"
month[3]="April"
month[4]="Maj"
month[5]="Juni"
month[6]="Juli"
month[7]="Augusti"
month[8]="September"
month[9]="Oktober"
month[10]="November"
month[11]="December"

day[0]="Söndagen"
day[1]="Måndagen"
day[2]="Tisdagen"
day[3]="Onsdagen"
day[4]="Torsdagen"
day[5]="Fredagen"
day[6]="Lördagen"
today = new Date();
aDay = today.getDay();
aMonth = today.getMonth();
aDate = today.getDate();
strDate = day[aDay] + " den  " + aDate + ", " + month[aMonth];

document.write(strDate);