How to view the last modified date of a file

Updated: 11/26/2018 by Computer Hope

There are several ways to view the date a file was either created or last updated. Below are some of the more common ways to display the dates of a file.

My Computer and Explorer

Windows Explorer View Details

The first way is by viewing the file using My Computer or Windows Explorer. Once open, navigate to the file you want to view the modified date. If Windows is set to show the details, you should see the dates of each file in the "Date modified" column. If you only see the files, either change the view to Details, or skip to the next suggestion.

Windows File properties

If you do not want to change the view of Windows or the file you want to view the date is on the Desktop, you can also see the modified date by viewing the file properties. Right-click on the file and click Properties, in the Properties window you should see the Created date, Modified Date, and the Accessed date, similar to the example below.

File Properties

Windows command line (DOS)

A third way to view the date the file was last updated in Windows is through the Windows command line.

At the DOS prompt navigate to the files location by using the cd command and once in the directory containing the file use the dir command to list the files. The date and time listed in the directory listing is the last modified date and time.

Linux command line or shell

Use the cd command to get to the directory containing the files you want to see the modification date and then use the ls command to list all files in the current directory. We recommend using the below ls command to give you the best listing of files including the modification date.

ls -laxo

Additional information