system time using client side script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mubarak basha
    New Member
    • Jul 2006
    • 10

    #1

    system time using client side script

    hi,

    i want to display the corresponding users system time in my html page of my website using client side script.......ho w can i do this.......plea se give some coding or suggestions.... ....
    regards,
    Mubarak
  • lakshmanmcaj
    New Member
    • Jul 2006
    • 35

    #2
    hi,

    use this code

    <%a=Time()
    response.write( a)%>

    Regards
    laksh

    Comment

    • lakshmanmcaj
      New Member
      • Jul 2006
      • 35

      #3
      hi ,

      use time() function
      <%
      a=Time()
      %>

      Regards
      Laksh

      Comment

      • lakshmanmcaj
        New Member
        • Jul 2006
        • 35

        #4
        Hi

        Use Time () function

        <%
        a=Time()
        %>

        Comment

        • jay_dev
          New Member
          • Jul 2006
          • 10

          #5
          wait wait ..
          all that before is wrong man you need the client's system time right
          use the javascript time function
          d=new Date()
          m=d.getMinutes( )
          s=d.getSeconds( )
          h=d.getHours()

          concatenate'em and that's it

          Regards
          Last edited by jay_dev; Aug 10 '06, 08:52 AM.

          Comment

          Working...