Selanjutnya,kembali ke Dashboard pilih Tata Letak / Layout,pilih Add a Gadget dan pilih Html/Javascript
Lalu sobat copy kode javascript tanggal dan jam berikut:
Copy Script Di Bawah ini :
<table style="border:0px" bgcolor="transparent"><tr><td> <div class='as-si'><div style='font-family:arial; color:#999999;font-size:12px;text-transform:none;'>
<script type="text/javascript">
window.setTimeout("jam()",1000);
function jam() {
var tanggal = new Date();
setTimeout("jam()",1000);
document.getElementById("mrpujiajadehclock").innerHTML=tanggal.getHours()+":"+tanggal.getMinutes()+":"+tanggal.getSeconds();
}
</script>
<strong><div id="mrpujiajadehclock"></div></strong></div></div></td><td><div class='pelajaranblogareakeren'><div style='font-family:arial; color:#999999;font-size:12px;text-transform:none;'>
<script type="text/javascript">
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new
Array("Minggu","Senin","Tuesday","Rabu","Kamis","Jumat","Sabtu")
var montharray=new
Array("January","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember")
document.write("<b>"+dayarray[day]+", "+daym+" "+montharray[month]+", "+year+"</b>")
</script></div></div></td><td></td></tr></table>
Post a Comment