Tây Hồ, Hanoi – “Are you going to let me speak or not you pasty savages?” These were the words of exasperated British Ambassador Garfield Chambers as…
Food
3/Food/feat-list
Tags
Nature
3/Nature/grid-small
Sports
3/Sports/col-left
Popular Posts
Technology
3/Technology/col-right
Most Recent
3/recent/post-list
Random Posts
3/random/post-list
Business
Business/feat-big
Css Options
Featured
Technology/hot-posts
Default Variables
Link List
Most Popular
Tây Hồ, Hanoi – “Are you going to let me speak or not you pasty savages?” These were the words of exasperated British Ambassador Garfield Chambers as…
Menu Footer Widget
KienFo
I am a simple person that love to design and blogging
Code tạo đồng hồ, ngày tháng năm chuẩn đẹp bằng js cho Blogspot
Code tạo đồng hồ, ngày tháng năm chuẩn đẹp bằng js cho Blogspot.
Cách thực hiện
Chèn code này vào bất cứ vị TRÍ nào muốn hiện, hoặc widget HTML/Javascript trong Bố cục.
<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>


Join the conversation