title: How do I use a date pattern in a header/footer?
body: <p>Here's my appender configuration from my app.config.  This just prints out the literal string instead of translating it to the date (i.e., it literally prints "[START:  %date{MM/dd/yy HH:mm} ]").</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;appender name="RollingLogFileAppender"
            type="log4net.Appender.RollingFileAppender"&gt;
    &lt;file value="C:\somelog" /&gt;
    &lt;appendToFile value="true" /&gt;
    &lt;rollingStyle value="Date" /&gt;
    &lt;datePattern value="-yyyy-MM-dd'.txt'" /&gt;
    &lt;layout type="log4net.Layout.PatternLayout"&gt;
      &lt;header value="[START:  %date{MM/dd/yy HH:mm} ]&amp;#13;&amp;#10;" /&gt;
      &lt;conversionPattern value="%date{yyyy-MM-dd HH:mm:ss} - %message" /&gt;
      &lt;footer value="[END]&amp;#13;&amp;#10;&amp;#13;&amp;#10;" /&gt;
    &lt;/layout&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p>How can I get this to print the date/time in the header?</p>