-->
Phong cách
Tính năng
Theo cột
Theo giá

How to create beautiful clock and date with js for Blogspot

How To Create Beautiful Clock and Date with js for Blogspot


How to create Beautiful Clock and Date with js for Blogspot
How to create Beautiful Clock and Date with js for Blogspot

Code to create a beautiful clock and date with js for Blogspot.


Insert this code into any LOCATION that you want to display, or the HTML / Javascript widget in the Layout.

Code

<center><script>var myVar=setInterval(function(){myTimer()},1000); function myTimer() {var d=new Date(); var t=d.toLocaleTimeString(); document.getElementById("h").innerHTML=t;}</script>
<span id="h"></span>
<script type="text/javascript">
n=new Date();if(n.getTimezoneOffset()==0)t=n.getTime()+(7*60*60*1000);else t=n.getTime();n.setTime(t);var dn=new Array("Chủ nhật","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7");d=n.getDay();m=n.getMonth()+1;y=n.getFullYear()
document.write(dn[d]+", "+(n.getDate()<10?"0":"")+n.getDate()+"/"+(m<10?"0":"")+m+"/"+y)
</script></center>
<style>
#h {font-weight:400;
    display: block;
    font-size: 30px;
    margin: 0 0 5px;
    letter-spacing: 5px;
}
</style>


How to create Beautiful Clock and Date with js for Blogspot, how to display date and time in HTML,clock widget for Blogspot,how to create a calendar with HTML CSS,clock, how to format date with javascript,how to create digital clock in c#,how to create clock in c#,how to add date converter for blog n web,digital clock,learn how to make javascript timer,create a clock using HTML and javascript,how to integrate clock in blogs

THÔNG TIN THANH TOÁN & DỊCH VỤ:

  • Tên tài khoản: Nguyễn Anh Tuấn
  • Số tài khoản: 0501000058467
  • Ngân hàng TMCP Ngoại thương Việt Nam (Vietcombank) - Chi nhánh Bắc Sài Gòn
  • Hỗ trợ cài đặt: fb.com/kequaduongvodanh
  • Dịch vụ: Xem chi tiết >>
    + Nhận convert template từ Wordpress
    + Sửa lỗi, nâng cấp template
    + Thiết kế Form Liên hệ từ Google Form
0 Comments