title: How to get Client PC Date&Time in Page_Load event
body: <p>Actually,I'm developing a Clinic Management System where in one screen,I need to show Today's Patients which are added in the Queue.<br>
  For this : I've called <code>DateTime.Now;</code><br>
  Actually My host server is in Canada Location and I'm in Malaysia.So,there is a 12 hour gap between both and the records are not showing until 12 pm.<br>
  While googling for the solution,I came across a solution through JavaScript.</p>
  
  <pre><code> &lt;label id="lblTime" runat="server" style="font-weight: bold"&gt;&lt;/label&gt; 
  
   &lt;script type="text/javascript"&gt;
          $(document).ready(function () {
              ShowTime();
          });
  
          function ShowTime() {
              var dt = new Date();
              document.getElementById("lblTime").innerHTML = dt.toLocaleTimeString();
              window.setTimeout("ShowTime()", 1000); // Here 1000(milliseconds) means one 1 Sec  
          }
      &lt;/script&gt;
  </code></pre>
  
  <p>Actually,It is showing time but when I get the text on the code behind,it is giving me an empty string.</p>
  
  <pre><code>string strrr = lblTime.InnerHtml.ToString();
  </code></pre>
  
  <p>Can anyone guide me through this?
  Am I doing any Mistake?
  Is there any other way to do this?</p>
  
  <p>Actually,I need the Date&amp;Time in <code>!isPostback</code> of <code>Page_load</code></p>