1. Joined : Apr 2016
    Houston, Texas
    Posts : 10
    Windows 10
       3 Weeks Ago #1

    Date Last Modified year field is set to the year 2036 on some files


    Looking at the Last Modified Date in Windows File Explorer, the Year field shows the year 2036 on some files but not all. The Creation Date matches the Last Modified Date. This happens to folders and individual files.

    I first noticed this when I did a fresh install of Windows 10 Anniversary Update. Does anybody have an idea what is causing this. Any help would be appreciated.

    Attached: a snipped image of Windows File Explorer showing the problem
    Attached Thumbnails Attached Thumbnails Capture.JPG  
      My System SpecsSystem Spec


  2. Joined : Oct 2013
    Posts : 16,535
    64-bit Windows 10 Pro build 14986
       3 Weeks Ago #2

    Hello wguimb,

    Looks like you're from the future. LOL

    Double check to see if your system date may be set incorrectly somehow.

    Date - Change in Windows 10
      My System SpecsSystem Spec


  3. Joined : Apr 2016
    Houston, Texas
    Posts : 10
    Windows 10
       3 Weeks Ago #3

    Thanks Brink. LOL I am back from the future. I tried all those steps and they have current date and time. I have another computer running the same Windows 10 version and it does not have the date problem. What I have discovered is the files and folders with the 2036 year date field are all on a network attached storage device (Seagate Personal Cloud 3 TB). I assume it is a firmware problem with that device. I guess I will see about updating the firmware on the Seagate storage device.

    Do you or anyone else know of a program that will find each folder and file with year 2036 and change it to 2016 en mass?
      My System SpecsSystem Spec


  4. Joined : Aug 2015
    Posts : 33
    Windows 10 Home
       3 Weeks Ago #4

    I recall that in the run up to the year 2000 (y2k) date software fixes, I saw something about that some of the software patches would result in another patch required in the 2030s. Maybe this has something to do with it.
      My System SpecsSystem Spec

  5.    3 Weeks Ago #5

    wguimb said: View Post
    Do you or anyone else know of a program that will find each folder and file with year 2036 and change it to 2016 en mass?
    You can do it quite easily with Powershell. This script will update all 2036 and later dates to today (and current time). You would need to update the $path variable to where the files are you want to change then just copy paste the whole lot into a powershell window (elevated if you need the authority)
    Code:
    $path="D:\Whatever Directory"
    $today = (Get-Date)
    $future = (Get-Date 2036-01-01)
    
    
    Get-ChildItem $path -r | 
    ForEach-Object { 
        if ((Get-Date $_.LastWriteTime) -ge $future) {
             $_.CreationTime = $today
             $_.LastAccessTime = $today
             $_.LastWriteTime = $today
        }
    }


    lagunasrfr said: View Post
    I recall that in the run up to the year 2000 (y2k) date software fixes, I saw something about that some of the software patches would result in another patch required in the 2030s. Maybe this has something to do with it.
    2038 is 2^32 seconds after 1970 so the wrong year in this case
    Year 2038 problem - Wikipedia
      My System SpecsSystem Spec


  6. Joined : Apr 2016
    Houston, Texas
    Posts : 10
    Windows 10
       2 Weeks Ago #6

    lx07 said: View Post
    You can do it quite easily with Powershell. This script will update all 2036 and later dates to today (and current time). You would need to update the $path variable to where the files are you want to change then just copy paste the whole lot into a powershell window (elevated if you need the authority)
    Code:
    $path="D:\Whatever Directory"
    $today = (Get-Date)
    $future = (Get-Date 2036-01-01)
    
    
    Get-ChildItem $path -r | 
    ForEach-Object { 
        if ((Get-Date $_.LastWriteTime) -ge $future) {
             $_.CreationTime = $today
             $_.LastAccessTime = $today
             $_.LastWriteTime = $today
        }
    }


    2038 is 2^32 seconds after 1970 so the wrong year in this case
    Year 2038 problem - Wikipedia
    I tried the script (elevated) and it did not work. Didn't get any error messages but it did not change the date of the file or folders. I went into the Personalcloud NAS device manager where I saw it had a hard coded date of 10-15-2036. I changed to the current date and time. So now new files or folders will have the correct dates. But I still have the problem of thousands of folders and files with Last Updated and Create date set to the year 2036. Anybody have any other ideas how I can mass change them?
      My System SpecsSystem Spec


  7. Joined : Aug 2015
    Posts : 33
    Windows 10 Home
       2 Weeks Ago #7

    Date Last Modified year field is set to the year 2036 on some files


    Set File Date 2.0 is a free utility program that will change created, modified and last accessed date to whatever you want. Will change single file or select a range of files. It is an old program but has worked well for me in the past. Here is where you get it: http://www.no-nonsense-software.com/ Let us know if this fixed your problem.
    Last edited by lagunasrfr; 2 Weeks Ago at 08:48.
      My System SpecsSystem Spec


  8. Joined : Apr 2016
    Houston, Texas
    Posts : 10
    Windows 10
       2 Weeks Ago #8

    lagunasrfr said: View Post
    Set File Date 2.0 is a free utility program that will change created, modified and last accessed date to whatever you want. Will change single file or select a range of files. It is an old program but has worked well for me in the past. Here is where you get it: http://www.no-nonsense-software.com/ Let us know if this fixed your problem.
    Set File Date just arbitrarily sets the date to the current date and time. I found another free program that lets me us masking and dates above 2036 to 2016 as criteria. It's called Attribute Changer and can be downloaded at Download | Attribute Changer
      My System SpecsSystem Spec


  9. Joined : Aug 2015
    Posts : 33
    Windows 10 Home
       2 Weeks Ago #9

    You can change date and time to whatever you want in Set File Date. Look at previrw in Web Site or do a quick download and try it.
      My System SpecsSystem Spec


  10. Joined : Oct 2015
    Posts : 10
    windows 7 pro 64bit
       2 Weeks Ago #10
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
Copy files in the "Last Date Modified" sequence
So I want to copy files from my PC to Android phone in the "Last Date Modified" sequence. That is, the file in that folder was modified the first should get copied first. Then the file that was modified second, should get copied second. Is...
Software and Apps
Launching exe file change its modified date
I have upgraded to Win 10 and getting used to it little by little. There is something new which I find quite annoying. Whenever I launch an exe file, the modified date is changed to the present date/time. Is there a way to disable that like in all...
Software and Apps
Solved Date Modified updates when icons in a toolbar are used
Has anyone else noticed that when you click a link in a toolbar that it updates the Date Modified field. While not important in itself, the side-effect is it makes the toolbar link get included with the next backup run. I've had these...
General Support
Holo HoloLens is a five year journey, first version out within a year
Read more: HoloLens is a five year journey, first version out within a year
Windows 10 News
NASA - SDO: Year 5
For the fans of space and science I give you SDO. :D http://www.youtube.com/watch?v=GSVv40M2aks
Chillout Room
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:05.
Find Us
Twitter Facebook Google+



Windows 10 Forums