Use built-in date formatting methods
Bug fix: correct uploaded file names