Insert various date formats in a file.