hm, do you mix up the file name and the contents of the file?
I think for the file name probably some “myGreatLog.log” is sufficient,
but if you really want the whole date and time string in the file name, replace the colons with something else like underline characters