Datumweergave
Auteur: mebus - 18 december 2004 - 16:00 - Gekeurd door: Dennisvb - Hits: 8347 - Aantal punten: 2.83 (6 stemmen)
kort scriptje van de en welke maand het is en natuurlijk het jaar pas het scriptje aan je eigen wensen aan
|
Code: |
<script language="JavaScript1.2">
var mydate=new Date()
var year=mydate.getYear()
var day=mydate.getDay()
var daym=mydate.getDate()
var month=mydate.getMonth()
if(daym<10)
daym="0"+daym
var dayarray=new Array("Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag")
var montharray=new Array("Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus", "September","Oktober","November","December")
document.write("<font color='CCFFCC' face='Verdana' size=3>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</font>")
</script>
<script language="JavaScript1.2"> var year=mydate.getYear() var day=mydate.getDay() var month=mydate.getMonth() if(daym<10) daym="0"+daym var dayarray =new Array("Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag") var montharray =new Array("Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus", "September","Oktober","November","December") document.write("<font color='CCFFCC' face='Verdana' size=3>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</font>") </script>
Download code (.txt)
|
|
Stemmen |
Niet ingelogd. |
|