Ini kode html tanggal umum+pasaran jawa: Silahkan copy paste:
<html><head><title>kalender - By. Andik Parianto</title>
<script language='javascript'>window.moveTo(screen.width,screen.height);</script>
<hta:application
applicationname="DigiKalender"
id="kln123456jw"
version="1.1.2.1"
border="thin"
icon="kalender.ico"
innerborder="no"
maximizebutton="no"
scroll="no"
singleinstance="yes"
contextmenu="no"
selection="no"/><script language='javascript'>
dN=["Minggu","Senin","Selasa","Rabu","Kamis","Jum'at","Sabtu"];
mN=["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"];
pS=["Legi","Pahing","Pon","Wage","Kliwon"];sT=["font-size:","<tr align='center'>","</tr>"];
BdY="<head><style type='text/css'>table{width:448px;height:358px;font-family:arial;font-weight:bold;};td{width:64px;height:28px;background-color:#f5f5f5;};.header{"+sT[0]+"12pt;color:#ff9000;};.dy,.dyh{color:blue;};.jm,.jmh{color:green;};.st,.sth{color:#9400d3;};.mg,.mgh{color:red;};.dy,.jm,.st,.mg{"+sT[0]+"9pt;height:50px};.dyh,.jmh,.sth,.mgh{"+sT[0]+"11pt;};button{width:26px;height:23px;cursor:pointer;};"
BdY+="</style></head><meta http-equiv='MSThemeCompatible' content='yes'/><body topmargin='0' leftmargin='0'><table bgcolor='#ffffff' border='1' bordercolor='gray' cellspacing='0' cellpadding='0' tabindex='0'>";
BdY+=sT[1]+"<td colspan='2' style='width:128px'><button onclick='chgMth(0,100)' title='-100 tahun'><<</button> <button onclick='chgMth(0,10)' title='-10 tahun'><<</button> <button onclick='chgMth(0,1)' title='-1 tahun'><<</button> <button onclick='chgMth(1,0)' title='-1 bulan'><<</button></td><td class='header' colspan='3' id='dtl' style='width:192px'></td><td colspan='2' style='width:128px'><button onclick='chgMth(3,0)' title='+1 bulan'>>></button> <button onclick='chgMth(4,1)' title='+1 tahun'>>></button> <button onclick='chgMth(4,10)' title='+10 tahun'>>></button> <button onclick='chgMth(4,100)' title='+100 tahun'>>></button></td></tr>"+sT[2];
BdY+=sT[1]+"<td class='mgh'>"+dN[0]+"</td><td class='dyh'>"+dN[1]+"</td><td class='dyh'>"+dN[2]+"</td><td class='dyh'>"+dN[3]+"</td><td class='dyh'>"+dN[4]+"</td><td class='jmh'>"+dN[5]+"</td><td class='sth'>"+dN[6]+"</td>"+sT[2];
for(iC=0;iC<=41;iC++){if(iC==5|iC==12|iC==19|iC==26|iC==33|iC==40){cls="jm";ftr="";etr="";}else
if(iC==6|iC==13|iC==20|iC==27|iC==34|iC==41){cls="st";ftr="";etr=sT[2];}else
if(iC==0|iC==7|iC==14|iC==21|iC==28|iC==35){cls="mg";ftr=sT[1];etr="";}else{cls="dy";ftr="";etr="";};
BdY+=ftr+"<td colspan='1' class='"+cls+"' id='iD"+iC+"'></td>"+etr;};
document.write(BdY+"</table></body>");chgMth(2,0);window.resizeTo(448,358);
window.resizeTo(448+(448-document.body.offsetWidth),358+(358-document.body.offsetHeight));
window.moveTo((screen.width/2)-(448/2),(screen.height/2)-(358/2));
function chgMth(i,y){if(i==0){yR=(yR-y);};
if(i==1){if(mT>0){mT=(mT-1);}else{if(yR==100){mT=0;}else{mT=11;yR=(yR-1);};};};
if(i==2){t0=new Date();mT=t0.getMonth();yR=t0.getFullYear();};
if(i==3){if(mT<11){mT=(mT+1);}else{if(yR==250000){mT=11;}else{mT=0;yR=(yR+1);};};};
if(i==4){yR=(yR+y);};if(yR>250000){yR=250000;};if(yR<100){yR=100;};
for(CnT=0;CnT<=41;CnT++){document.getElementById("iD"+CnT).style.backgroundColor="#dcdcff";};
bD=new Date(yR,mT,1).getDay();mD=new Date(yR,mT,0).getDate()-(bD-1);
for(bR=0;bR<bD;bR++){document.getElementById("iD"+bR).innerHTML="<font style='"+sT[0]+"12pt;color:gray;'>"+mD+"</font>";mD+=1;};
for(aD=1;aD<=new Date(yR,(mT+1),0).getDate();aD++){
t1=new Date(100,0,1);t2=new Date(yR,mT,aD);
sb=(((Date.parse(t2)-Date.parse(t1))/(24*60*60*1000))%(5));
document.getElementById("iD"+bD).innerHTML="<font style='"+sT[0]+"18pt;'>"+aD+"</font><br/>"+pS[sb];
if(aD==t0.getDate()&mT==t0.getMonth()&yR==t0.getFullYear()){document.getElementById("iD"+bD).style.backgroundColor="#ffff66";};
bD=(bD+1);}dtl.innerHTML="<font language='javascript' onclick='chgMth(2,0);' style='cursor:pointer;' title='Hari ini'>"+mN[mT]+" "+yR+"</font>";
for(vD=1;bD<=41;vD++){document.getElementById("iD"+bD).innerHTML="<font style='"+sT[0]+"12pt;color:gray;'>"+vD+"</font>";bD+=1;};};
</script></head></html>