PDF download Download Article PDF download Download Article

When a file is created on a computer, it is automatically given a set of attributes. These attributes include the date, size and file format. However, file dates may occasionally need to be changed. Windows 8, Windows 10 and Mac are the most popular platforms for PCs today.

Method 1
Method 1 of 2:

Changing "Date Created" and "Date Modified" for Files in Windows 8 and 10

PDF download Download Article
  1. This utility program enables you to create lists of Windows files and change their attributes.
  2. When the main menu appears, click File and then Add Files.
    Advertisement
  3. It will show up as an entry on a list.
  4. You can just check the boxes on the menu for what you want to modify. You can add a specific amount to the current times on the file or even copy time from one file to another to make them match.
  5. The files will now reflect the new "Date Created" and "Date Modified" times you created.[1]
  6. Advertisement
Method 2
Method 2 of 2:

Changing a File Date on a Mac Running OS X

PDF download Download Article
  1. Pull down the "Applications" menu, then click on "Utilities", then launch Terminal.
  2. Drag and drop the file onto the Terminal window, and Terminal will provide the file path at the command prompt. The file path can then be copied.[2]
  3. This will change the modification date. This sends a command to the touch utility (which sets the modification and access times of files) to set the new date and time. NOTE: YYYY means the year, MM the month, DD the day, hh the hour, mm the minute, ss the second of the target time.
  4. This will change the access date.
  5. This will change the creation date, unfortunately, only if the target time is before the original creation time. If your target time is after the original creation time, see the citation for the solution.[3]
  6. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Is there a way to do this (on Windows) without downloading any software?
    Arrogance
    Arrogance
    Top Answerer
    Yes. You can do it with PowerShell commands: (Get-Item "file.txt").CreationTime=("01 April 2038 00:00:00") (Get-Item "file.txt").LastWriteTime=("01 January 1995 12:00:00") (Get-Item "file.txt").LastAccessTime=("5 May 6667 17:00:00"). Replace "file.txt" with the name of the file.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • With BulkFileChanger, you can also change the attributes of the files (ie, Read-Only, Hidden, System, etc.)
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Change File PropertiesChange File Properties
Change the Computer Time and Date Using the Command PromptChange the Computer Time and Date Using the Command Prompt
Change the Date Format on a MacChange the Date Format on a Mac
Automatically Shut Down Your Computer at a Specified Time Schedule a Shutdown for Your PC or Mac Computer
Disable Write ProtectionA Guide to Disabling Write Protection
Find a File in LinuxFinding Linux Files: Complete Guide to Using Find Commands
Delete Locked Files on a Mac Delete Locked Files on a Mac with Finder or Terminal
Create a File in a Directory in LinuxCreate a File in a Directory in Linux
Delete Read Only Files2 Simple Steps to Delete Read Only Files
Batch Rename Files in Mac OS X Using AutomatorBatch Rename Files in Mac OS X Using Automator
Run a BAT File on Windows3 Ways to Run a Batch (.BAT) file on Windows and More
Find out How Long Your Computer Has Been On Find out How Long Your Computer Has Been On
Delete Files That Cannot Be DeletedDelete Files That Cannot Be Deleted
Restore Your ComputerRestore Your Computer
Advertisement

About This Article

wikiHow Staff
Co-authored by:
wikiHow Staff Writer
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 142,043 times.
How helpful is this?
Co-authors: 16
Updated: May 23, 2025
Views: 142,043
Categories: File Manipulation
Thanks to all authors for creating a page that has been read 142,043 times.

Is this article up to date?

Advertisement