title: Visual Basic add to timestamp date
body: <p>I am adjusting an existing file transfer windows service that renames the file being sent as a timestamp. For testing purposes, I need to make the files sent show up in the destination directory as being ten days ahead of when they were actually sent. Ex: if it's sent on 11/23/2015, it needs to look like it arrived 12/03/2015. </p>
  
  <p>The line of code that generates the file name looks like this: </p>
  
  <pre><code>    Dim strFileNameToTransfer As String = My.Settings.FileDirectory.ToString() &amp; Format(Now(), "yyyy") &amp; Format(Now(), "MM") &amp; Format(Now(), "dd")
  </code></pre>
  
  <p>File name shows up in directory like this, if sent on 11/23/2015: 
  "20151123.xml"
  But I would need it to show up like this:
  "20151203.xml"</p>
  
  <p>It would need to adjust the month as well, since the test will cross over into December and it is now November.  </p>
  
  <p>Like I said, this is for testing purposes, so it needs to go back to the way it was when testing is over. I really just need a quick fix here, but I know zero about Visual Basic, and I'm still new to programming in general as well. Help!</p>