title: StreamWriter Text File name must include hour, minute and second
body: <p>Run following code and see that you have text file on the desktop named <code>MyLogFile 08.04.2017</code> </p>
  
  <pre><code>    Dim Log As System.IO.StreamWriter
      Log = My.Computer.FileSystem.OpenTextFileWriter(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) &amp; "\MyLogFile " &amp; System.DateTime.Now.Date.ToString("dd/MM/yyyy") &amp; ".txt", False)
      Log.WriteLine("Hello")
      Log.Close()
  </code></pre>
  
  <p>I had wanted to change file name from <code>MyLogFile 08.04.2017</code> to <code>MyLogFile 08.04.2017 07:50:59</code> but it is not possible because <code>:</code> is not allowed.</p>
  
  <p>Now, I want to change file name from <code>MyLogFile 08.04.2017</code> to <code>MyLogFile 08.04.2017 07.50.59</code> thanks to your support.</p>