Hi,
I have a text box that I have displaying the date in short form 2 months ago
aDate = Now
aDate = aDate.AddMonths(-2)
TextBox1.Text = aDate.ToShortDateString
I then want to take that short date yy/mm/dd and convert it to a string that looks like yymmdd for file deletion. Can't figure out the format string.
I have a text box that I have displaying the date in short form 2 months ago
aDate = Now
aDate = aDate.AddMonths(-2)
TextBox1.Text = aDate.ToShortDateString
I then want to take that short date yy/mm/dd and convert it to a string that looks like yymmdd for file deletion. Can't figure out the format string.