Hello, RobKearney,
I don't exactly understand what it is you are asking. But on FAT and NTFS and most other file systems I know you won't be able to include "/" or ":" characters in the file name.
But please, please, please use some variant of the ISO international date standard. It is far superior to both the American and European date conventions for a great many reasons. A couple of the most important:
- The normal alphabetic sort order for file names will also provide you with sorting by date.
- It can't be confused with either the American or European conventions (either of which can easily be confused with the other).
- Your code won't cause any Y3K problems. ;-)
Cheers,
Randy
Main Topics
Browse All Topics





by: Omego2KPosted on 2009-10-22 at 09:12:20ID: 25635858
There are no functions(at least none that I know of) that are specific to naming files with a date, but there are many others you can use to accomplish this.
ortdd_MM_y y_hh_mm_ss .pdf")
f
Dim myFileName As String = DateTime.Now.ToString("Rep
The above would result in the following format:
Report22_10_09_11_12_13.pd
file names can't have "/" or ":"