Recent post

শুক্রবার, ২৮ অক্টোবর, ২০১৬

How to add time in your website or blog

To display Date and time in your website follow this tips.
copy below html code and save it in your website.

<!doctype html>
<p id="demo"></p>

<script>
document.getElementById("demo").innerHTML = Date();
</script>



</!doctype>



it will be displaying [Sat Oct 29 2016 12:42:40 GMT+0800 (Malay Peninsula Standard Time)]


its always show local time by identify IP address.

কোন মন্তব্য নেই:

Popular Posts