title: Format DateTime in C# to append to file name
body: <p>I need to format current DateTime in this format <strong>dd-mm-yyyy-hh-mm-ss</strong> and don't know how to do it. I read on Internet and then write this code:</p>
  
  <pre><code>DateTime saveNow = DateTime.Now;
  MessageBox.Show(String.Format("{0:u}", saveNow));
  </code></pre>
  
  <p>But this returns the date on this format:</p>
  
  <pre><code>2013-04-24 23:11:34Z
  </code></pre>
  
  <p>Can any help me? I need the first format to append to a file name I'm creating.</p>