JavaScriptReading

31 Questions for daily life

vg.pe.hu/jp/31q/


daily();

function daily() {
    mydate = new Date();
    num = mydate.getDate();
    document.write('<img class="center" src="img/' + num + '.jpg">');
}

Links : Date | Document.write()