When we obtain multiple documents from various sources, the creation and modification times of the files are often very chaotic—some display default dates from several years ago, while others show last week's save time, completely stripping the file timeline of any reference value. Especially when we need to organize materials or standardize documents by time, the chaotic timestamps seriously affect our work efficiency. Adjusting the creation and modification times of Windows files may seem like a technical task, but there are actually many simple methods to quickly resolve this.
This article explains three effective methods to help you uniformly solve the problem of changing file creation and modification times in the way that suits you best, ensuring precise adjustment of file time attributes so that every document has clear timestamps.
Why adjust the creation time and modification time in file properties?
Unify time records
When files are transferred between devices or system times are out of sync, file timestamps may become abnormal or missing. Manually adjusting them allows the time information to more accurately reflect the actual life cycle of the file, providing clear and reliable time clues for personal management and archiving.
Improve organization efficiency
When dealing with a large number of documents or managing projects, we often need to sort, filter, or search files by time order. If the time information is chaotic, it increases the difficulty of searching and organizing. Uniformly adjusting timestamps ensures files are in order within the system, making it convenient to quickly locate the required content.
Meet compliance requirements
Ensuring that the time records of all files are consistent with actual work progress can meet archiving, backup, or collaboration requirements. By correcting time information, we can avoid process delays caused by time discrepancies, making file management and workflows more synchronized.
Preview of the effect of modifying creation time and modification time in Windows file properties
Before processing:

After processing:

Method 1: Use HeSoft to batch adjust file creation time and modification time
Recommendation Index: ★★★★★
Advantages:
It has the most intuitive interface, requires no technical knowledge to operate, and can batch process a large number of files, greatly improving our efficiency. It allows precise second-level control over creation, modification, and access time attributes. Most importantly, all files added are processed locally on your computer, with no upload requirements, protecting the security and privacy of user files.
Disadvantages:
It can only be operated by installing the software on a computer.
Operation Steps:
1. Open 【 HeSoft Doc Batch Tool 】, select 【File Organization】 - 【Modify File System Attribute Time】.

2. Choose a method from 【Add Files】 or 【Import Files from Folder】 to add the files whose times you need to adjust, or you can directly drag and drop the files into the import area below, then click Next.

3. Enter the settings interface, enable the 【Creation Time】 and 【Modification Time】 buttons, adjust the target time node below, confirm, and then click Next again. Then click Browse to select the save location for the new files.

4. After the process is complete, click the red path to open the folder and check the successfully modified time information.

Method 2: Use PowerShell commands to modify file time
Recommendation Index: ★★★☆☆
Advantages:
It is a built-in Windows system function, requiring no additional software installation. Processing speed is extremely fast, especially suitable for a large number of files. It can execute complex processing logic and is easy to integrate into automated workflows, providing unlimited use after one-time setup.
Disadvantages:
Requires basic command-line knowledge, which is not very friendly for users unfamiliar with technology. Command syntax may vary by system version. Most importantly, note that incorrect commands may lead to unexpected results, requiring careful operation and testing.
Operation Steps:
1. Open Command Prompt as an administrator, then enter the command to navigate to the file's directory.
2. Modify creation time command:
powershell (Get-Item "filename").CreationTime = "2026-01-01 11:00:00"
Adjust modification time command:
powershell (Get-Item "filename").LastWriteTime = "2026-01-01 15:00:00"
3. Press Enter to execute the command.
Method 3: Use a Python script to change file creation and modification time
Recommendation Index: ★★★☆☆
Advantages:
Completely free and open-source with no cost. It allows you to create highly customized solutions to meet specific needs, easily handle complex file time modifications, and offers good cross-platform compatibility.
Disadvantages:
Requires programming fundamentals, making it difficult for non-technical users to use. The debugging process requires time investment. Different operating systems may have variations, requiring targeted handling. Compatibility issues may be encountered during the first write attempt.
Operation Steps:
1. Install Python, create a new .py file.
2. Enter the code below, and finally modify the file path and date time.
poweimport os
import time
import datetime
file_path = "Full path of the file"
new_time = time.mktime(datetime.datetime(2026, 01, 01, 14, 00,0 0).timetuple())
os.utime(file_path, (new_time, new_time))
3. Save and run the Python script.