title: How do I Display date on Aspx page?
body: <p>I am using asp.net webforms for the first time and am trying to display the current date in the following form: Friday, July 13</p>
  
  <pre><code>&lt;h3&gt;Suggested reading for &lt;% DateTime.Now.ToString(); %&gt;&lt;/h3&gt;
  </code></pre>
  
  <p>However, this only displays </p>
  
  <pre><code>Suggested reading for
  </code></pre>
  
  <p>on my page.</p>
  
  <p>I don't know if this helps, but here is some surrounding code:</p>
  
  <pre><code>&lt;%@ Page Title="Register" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="Fake_Coupon_Site.Account.Register" %&gt;
  
  &lt;asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent"&gt;
      &lt;hgroup class="title"&gt;
          &lt;h1&gt;&lt;%: Title %&gt;.&lt;/h1&gt;
          &lt;h2&gt;Use the form below to create a new account.&lt;/h2&gt;
          &lt;h3&gt;Suggested reading for &lt;% DateTime.Now.ToString(); %&gt;&lt;/h3&gt;
      &lt;/hgroup&gt;
  </code></pre>