Question:

I have created a java script program that display's the local time?

by  |  earlier

0 LIKES UnLike

I would like to display the clock in three different text boxes.

(EX. Hours, Minutes,Seconds)

Can any body help me.

 Tags:

   Report

1 ANSWERS


  1. <SCRIPT LANGUAGE="JAVASCRIPT">

    <!--

    var d = new Date();

    var h= d.getHours();

    var m = d.getMinutes();

    var s = d.getSeconds();

    document.write(h+ ":" + m+ ":" + s);

    //-->

    </SCRIPT>

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.