title: Display Current Date and Time
body: <p>I have to display the current date and time in the Master layout of my views.</p>
  
  <p>I 've added the current date and time</p>
  
  <pre><code>&lt;div class="date-time"&gt;@{
  @Html.Label(string.Format("{0:F}",System.DateTime.Now))
    }
   &lt;/div&gt;
  </code></pre>
  
  <p>The problem is need to update the time in real time.
  It's not updating until I refresh the page.</p>