Output file to create based on timestamp

I've looked at this before as well and the closest thing I could find was this: