Quick Answer: How Do You Change a File's Date?
Every file including photos, document and other media files on your computer carries three hidden timestamps: the created date, the modified date, and the accessed date. Windows and macOS show these in File Explorer and Finder. Normally you cannot edit them - but with the right method, you can change all three in under a minute.
In this tutorial, we show you three reliable ways to change file dates: a no-code desktop tool (easiest), macOS Terminal commands, and Windows PowerShell commands. Follow the method that fits your need.

Aiseesoft Video Converter Ultimate is the most accessible way to change file dates. It includes a built-in File Date Changer tool in its Toolbox - no code, no command line. It must be the easiest way for non-tech users. In addition, it also supports bulk file date change. Besides changing dates, the software converts 4K/8K videos, edits, and compresses files, so it covers far more than just timestamps.
100% Secure. No Ads.
100% Secure. No Ads.
Both macOS and Windows offer built-in ways to change file dates. But your need a little coding knowledge to run those commands fluently.
You can use Mac built-in command with Terminal to change the created date, modified date and accessed date with a few steps. However, the built-in "touch" command can only change the modified and accessed dates. To change the creation date on a Mac you need the SetFile command from Apple's Command Line Tools
How to Change the Created Date on a Mac:
How to Change the Modified Date on a Mac:
PowerShell can change the creation, modification, and access dates of any file. Use the three commands below, replacing the path and date with your own values.
| Method | Platform | Difficulty | Batch? | Best for |
| Aiseesoft File Date Changer | Windows / Mac | Easy (no code) | Yes | Non-technical users; also want video editing |
| Terminal | macOS | Medium | Partial | Mac users comfortable with the command line |
| PowerShell | Windows | Medium | Yes (with a loop) | Windows users who want precise control over all three timestamps |
Can I change the file creation date with Python?
Yes, you can change the file creation date on Python but first you will need to check the creation time by typing path.getctime('sample_path')
Can other people tell that I changed a file's dates?
In most everyday cases, no one will notice: File Explorer and Finder simply display the new timestamps. However, professional tools can sometimes detect that metadata was modified. Change dates on your own files and only for legitimate purposes such as organizing a media library.
Can I retrieve the original creation date of a file?
Yes, you can retrieve it by manually turning back the original date of it. If you are looking for an app that scans and retrieves the file's creation modified date, no available apps can work with it other than changing it manually.
Can I change file dates directly in Windows Explorer or Finder?
No. Neither File Explorer nor Finder lets you edit timestamps. You need a third-party tool (like the File Date Changer) or command-line commands (PowerShell / SetFile).
Conclusion
To change a file's creation date, you will need the assistance of the tool we have listed here. You can start by using the codes supported on your Terminal and Powershell, but if you think it is challenging to do better, use the app we have listed here. That way, you wouldn't need to use codes to change the date. Just follow the steps, and you will successfully change it.
Video Converter Ultimate is excellent video converter, editor and enhancer to convert, enhance and edit videos and music in 1000 formats and more.
100% Secure. No Ads.
100% Secure. No Ads.