XmlTextWriter path error?
<p>What is wrong with the following statement?</p>

<pre><code>XmlTextWriter writer = new XmlTextWriter(@"D:\project\data\" + System.DateTime.Today + @"\" + System.DateTime.Now + ".xml", null);
</code></pre>

<p>When I try the above statement it gives the following error</p>

<blockquote>
  <p>The given path's format is not supported.</p>
  
  <p>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. </p>
  
  <p>Exception Details: System.NotSupportedException: The given path's format is not supported.</p>
</blockquote>
