title: How to convert a Date to a formatted string in VB.net?
body: <p>There seems to be a million questions here on converting a string to a Date, but not vice-versa. When I convert a Date object to a string using <code>mydate.toString</code> I get a string in the format <code>16/01/2013 13:00:00</code>.</p>
  
  <p>But what I really want is <code>2013-01-16 13:00:00</code>. I can't see any functions on the Date object that do this for me, do I need to use a regex or something instead?</p>