karácsonyi naptárasóra demó és kód
<center>
<table bgcolor="#ffffff" border="1" bordercolor="#000000" id="table1" width="100">
<tbody>
<tr>
<td align="center">
<font color="#000000" size="3"><script>
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()+1
if (month<10)
month="0"+month
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
document.write("<small><font color='#000000' face='Arial'><b>"+month+"/"+daym+"/"+year+"</b></font></small>")
</script></font></td>
</tr>
<tr>
<td align="center" background="//jegvirag.gportal.hu/portal/jegvirag/image/gallery/1418896172_10.gif" height="135" style="border: 0px solid #000000" width="80">
</td>
</tr>
<tr>
<td align="center" bgcolor="#ffffff" bordercolor="#000000" style="color: #000000">
<font color="#000000" size="3"><script language=Javascript1.2>
var tags_before_clock = "<font face='arial' size='3' color='#000000'><b> "
var tags_middle_clock = "<font face='arial' size='3' color='#000000'><b>"
function tS(){ x=new Date(); x.setTime(x.getTime()); return x; }
function lZ(x){ return (x>9)?x:'0'+x; }
function dT(){ if(fr==0){ fr=1; document.write('<font size=2 face=Georgia color=#000000 ><b><center><span id="tP">'+eval(oT)+'</center></span></b></font>'); }
document.getElementById('tP').innerHTML=eval(oT); setTimeout('dT()',1000); }
var fr=0,oT="' '+lZ(tS().getHours())+':'+lZ(tS().getMinutes())+':'+lZ(tS().getSeconds())+' '";
</script><script language="JavaScript">dT();</script></font></td>
</tr>
</tbody>
</table>
</center>