Time : Time : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » Time »

 

Time



/* To return the GMT time use getUTCHours, getUTCMinutes etc. */
<html>
<body>

<script type="text/javascript">
    var d = new Date()
    
    document.write(d.getHours())
    document.write(".")
    document.write(d.getMinutes())
    document.write(".")
    document.write(d.getSeconds())
</script>

</body>
</html>


           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» Time