You could use what CEHJ has recommended, however how exactly do you want the directories created. Are you looking for one directory per day? If so you use Calendar with a date formater to format what you are trying to do.
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.
CEHJ
There are actually more important considerations than readability: for instance, why would you want a folder with a timestamp as its name?
Are you putting more than one file into it? If so, then you're likely to need a coarser granularity than a timestamp with milliseconds or possibly even seconds (maybe even coarser)
AndyC1000
ASKER
The purpose of the folder is to store the date/time of the model run, I will need to record time down to seconds.
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.