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.

একটি মন্তব্য পোস্ট করুন

0 মন্তব্যসমূহ

Loading posts...