<script language="javascript">
function getCurDate()
{
var d = new Date();
var month = add_zero(d.getMonth()+1);
var days = add_zero(d.getDate());
var ndate = month+"-"+days;
var divT=document.getElementById("logInfo");
divT.innerHTML= ndate;
}
function add_zero(temp)
{
if(temp<10) return "0"+temp;
else return temp;
}
setInterval("getCurDate()",100);
</script>