title: How to get date (time) in specific format for C#?
body: <p>I'm creating C# application. It should save to file (among others) today's date (time) in different formats, e.g. in one line there should be only a day, in a second month and a year splitted by <code>/</code>, etc.</p>
  
  <p>I read <a href="http://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx" rel="nofollow">this</a> and <a href="http://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx" rel="nofollow">this</a> article about standard and custom date formats, but didn't find that what I wanted.</p>
  
  <p>I PHP I have got a function <code>date()</code>. It can return me a date in specified by me format, like:</p>
  
  <p><code>date('l');</code> - day name (e.g. Monday)</p>
  
  <p><code>date('h:i:s A');</code> - hours:minuts:second PM/AM</p>
  
  <p>That's fine, because I can alone specify separator, etc. Is there any equvalent solution to this one in C#?</p>