Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. system time

system time

Scheduled Pinned Locked Moved ASP.NET
sysadminhelp
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mukesh mr03
    wrote on last edited by
    #1

    hi, in my project i want to get the system time. for that i'm using the system.now.tostring() to get the time. but its showing the server time. how we get the client system time. please help me....

    S _ S 3 Replies Last reply
    0
    • M mukesh mr03

      hi, in my project i want to get the system time. for that i'm using the system.now.tostring() to get the time. but its showing the server time. how we get the client system time. please help me....

      S Offline
      S Offline
      soni uma
      wrote on last edited by
      #2

      Easiest way would be to use javascript to get that and then pass it back to the server through a hidden input. Another option is give the user a js cookie, then pick that cookie up the next time code executes on the server. :-D

      1 Reply Last reply
      0
      • M mukesh mr03

        hi, in my project i want to get the system time. for that i'm using the system.now.tostring() to get the time. but its showing the server time. how we get the client system time. please help me....

        _ Offline
        _ Offline
        _AK_
        wrote on last edited by
        #3

        You can have a look at this[^] article to know how to get the systems time of the clients machine.

        Apurva Kaushal

        1 Reply Last reply
        0
        • M mukesh mr03

          hi, in my project i want to get the system time. for that i'm using the system.now.tostring() to get the time. but its showing the server time. how we get the client system time. please help me....

          S Offline
          S Offline
          Sun Rays
          wrote on last edited by
          #4

          Hi, check this.. hope it will help you. http://forum.java.sun.com/thread.jspa?threadID=364500&messageID=1534715[^]

          Thanks, Sun Rays To get something you must have to try once. My Articles

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups