title: Render DateTime.Now directly in the ASPX page
body: <p>I am trying to do the following directly into the aspx page but it is not showing the date value. I dont want to do it from the code behind. Am i missing something small here? Pls suggest.</p>
  
  <pre><code>&lt;asp:Literal ID="ltrDate" Text='&lt;% DateTime.Now.ToLongTimeString() %&gt;' runat="server"&gt;&lt;/asp:Literal&gt;
  </code></pre>
  
  <p>Even the use of hash in the expression &lt;%#DateTime.Now.ToLongTimeString() %> does not work.</p>