Originally posted by Gopu Akraju:
Thanks for your response. I could finish it as below:
Now I could append the filename with date_time so that it each file name is unique.
You can use one single method as well:
It will be just a bit more efficient - only one SimpleDateFormat and Date object for each file, as well as no
String concatenation.