Login
Signup
Home
Notification
৳
Be a wapmaster!
Share a Idea.
Home
»
Javascript
»
Simple Time And Date Javascript Code with css
Simple Time And Date Javascript Code with css
Simple Time And Date Javascript Code!
<div class="dt"> <table> <tr> <td id="date"></td> <td id="time"></td> </tr> </table> </div> <script> var dt = new Date(); document.getElementById("date") .innerHTML = (("0"+(dt.getMonth()+1)).slice(-2)) +"/"+ (("0"+dt.getDate()).slice(-2)) +"/"+ (dt.getFullYear()); document.getElementById("time") .innerHTML = dt.toLocaleTimeString(); </script> <style> .dt table { width:100%; padding:2px; background:#fff; color:#555; } .dt table tr { width:100%; background:none; padding:0; } .dt table tr td { width:50%; padding:3px; border:1px solid #999; margin:2px; text-align:center; } </style> <br> <script src="https://sharecode.wapkiz.com/js/2.js"></script>
Download Site
(684) views
(31 March 2024)
Report
About
admin
Hello I am
admin
, My age years . I got
Rank of Role Myforum. I Love This site . More info.
plz Contact me
Message
(0) Comments here
Sir No Comment on this post Please Make a New
About us
Terms
Contact us
Admin
Privacy & Policy
Java gameloft
Back To Top
(0) Comments here
Sir No Comment on this post Please Make a New