вот код
<script language="javascript" type="text/javascript"><!--
var d = new Date();
var month=new Array("1","2","3","4","5","6",
"7","8","9","10","11","12");
document.write(+" " +d.getDate()+ " " + month[d.getMonth()]
+ " " + d.getFullYear() );
//--></script>