title: How to add clock in View of MVC
body: <p>I have the following lines of html code  in  jquery mobile header to display time. It is static now as it refreshes only when page is refreshed. How I can periodically update the time without page refresh ?</p>
  
  <pre><code>&lt;div id="updateTime"&gt;
      &lt;span&gt;@DateTime.Now.ToShortDateString()&lt;/span&gt;&lt;br /&gt;
      @{
          CultureInfo ci = new CultureInfo("en-US");
          string formatedDate = DateTime.Now.ToString("t", ci);
      }
  &lt;/div&gt;
  </code></pre>