Cara Memasang Tanggal, Bulan Dan Jam Digital Pada Blog Blogspot

DP BBM 23 - Cara Memasang Tanggal, Bulan Dan Jam Digital Pada Blog Blogspot - Hello selamat sore dan selamat berkunjung kembali di blog - blogan DP BBM 23... setelah kemarin berbagi postingan Berminat Ingin Menjadi Penulis di Blog DP BBM 23 ?? Begini Caranya........ di kesempatan kedua ini akan sedikit mengulas tentang Cara Memasang Tanggal, Bulan Dan Jam Digital Pada Blog Blogspot, untuk selengkapnya simak terus dibawah ini...


Ok next... sebenarnya untuk cara pemasangan jam, tanggal, bulan dan tahun pada blog, sudah tidak aneh lagi bahkan semua yang memiliki blog sudah bisa membuat dan memasangnya sendiri, namun tak ada salahnya disini saya ulas kembali, teruntuk sobat yang berminat dan ingin memasangnya namun tidak tau caranya ?? tepat sekali sobat masuk kesini... karena disini saya akan membagikan caranya dengan cara yang cukup simpel dan mudah sekali tanpa harus merubah / mengedit template..


Untuk contoh diatas itu adalah pemasangan di atas header blog dengan cara menyisipkan kode kedalam templatenya.. namun disini saya buatkan postingan yang paling mudah, dalam arti bisa sobat pasang / leakkan dimanapun sobat inginkan, misalnya dipasang pada sidebar blog, atau diatas postingan blog dsb... dan berikut kodenya... silahkan sobat copas dan pasang pada blog sobat...

#01 Kode script widget Hari Tanggal Bulan dan Tahun





<script>
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", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu")
var montharray=new Array("Januari","Februari","Maret","April","Mei", "Juni","Juli", "Agustus","September","Oktober","November","Desember")
document.write("<p>"+dayarray[day]+", "+daym+" "+montharray[month]+" "+year+"</p>")
</script>


#02 Kode script widget Jam Waktu menit detik dan AM:PM





<span id="Variasiblogger"></span>
<script type="text/javascript">
//<![CDATA[
function showclock(){
var digital = new Date();
var hours=digital.getHours();
var minutes=digital.getMinutes();
var seconds=digital.getSeconds();
var dn='AM';
if (hours>12) {
dn='PM';
hours=hours-12;
}
if (hours==0) hours=12;
if (minutes<=9) minutes='0'+minutes;
if (seconds<=9) seconds='0'+seconds;

miReloj='<b><span style="color:#000;font-size:12px;">'
+ hours + '</span> : <span style="color:#000;font-size:12px;">'
+ minutes + '</span> : <span style="color:#000;font-size:12px;">'
+ seconds + '</span></b><span style="color:#000;font-size:12px;margin-left:5px;">'
+ dn + '</span>';
document.getElementById('Variasiblogger').innerHTML=miReloj;
//
setTimeout('showclock()',1000);
}
window.onload=showclock
//]]>
</script>


Nah, Itulah mudahnya guys Cara Memasang Tanggal, Bulan Dan Jam Digital Pada Blog Blogspot, silahkan sobat copas kodenya dan pasang dimanapun yang sobat inginkan, dengan cara Buka dashboard Blogger >> Klik Layout / Tata Letak >> Klik Add Gadget / +Gadget >> Pilih HTML/Javascript >> Paste Kodenya ( ditempat yang sobat inginkan ) >> Klik Save dan lihat hasilnya!!!...




Before you continue reading, it is necessary to underline that what is written is only a reference! so if there are errors in words and delivery methods, please understand! and below the recommendation article for you!


Content Disclaimer!

  • I as the owner of "BlogCaraOcha" thank you to all loyal readers, and those who accidentally stopped by here.

    And I apologize if there are many advertisements on the homepage or in the post.

    After "BlogCaraOcha" is accepted as a Google publisher, Google automatically places all advertisements.

  • If the content on "BlogCaraOcha" has similarities with other sites or blogs, it only provides a reference to each other by spreading the word in a simple article.

    With the aim, all internet visitors can easily and freely which if the article is easy to understand.

    In addition, so that readers can easily find what is on the search, with content that can provide content in surfing the internet!

  • All images posted in the article are not 100% owned by "BlogCaraOcha" but are taken from Google Search.

    So if there are similarities with the images on other sites, it is only for illustration only (to decorate the storyline as outlined in the article).

    For some of the images here, they are purely self-created, with the same purpose as illustration only.

    However, if there are inappropriate images and ask to be removed, please provide more detailed information via the contact at "BlogCaraOcha"

  • For content that discusses the product review or tutorial, if there are errors, please be advised that it may be an error in typing words or lacking in detail reviewing.

    So if there are typos and results that are not appropriate, can provide input where the location of the error or lack, so that the content is immediately deleted or corrected.

    But before submitting, try to see between the date / year the post was published with the current date / year.

    Because it could be other times what the written policy has changed.
  • '