I'm using FileWriter to create a file. I want to create a folder in the outputPath with the timestamp and write the file to this location.
I'm not sure how to go about this.
String outputFilename = "result";
String outputPath = "output/";
Writer writer = new FileWriter(outputPath + outputFilename + i + ".csv", true);
Open in new window
This would probably be more useful then a new directory with the millisecond in it. That is not very human readable for the future.
Hope that helps.