PHP gevorderde |
|
var datum = new Date()
var jaar = datum.getYear()
var maand = datum.getMonth()
var daym = datum.getDate()
var maandarray=new Array("Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December")
if(jaar < 1000)
jaar += 1900
if (daym<10)
daym="0"+daym
document.write(daym+" "+maandarray[maand]+" "+jaar)
var jaar = datum.getYear() var maand = datum.getMonth() var maandarray =new Array("Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December") if(jaar < 1000) jaar += 1900 if (daym<10) daym="0"+daym document.write(daym+" "+maandarray[maand]+" "+jaar)
|