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


  1. Posts : 13
    Windows 10
       #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 Date Last Modified year field is set to the year 2036 on some files-capture.jpg  
      My Computer


  2. Posts : 68,839
    64-bit Windows 11 Pro for Workstations
       #2

    Hello wguimb, :)

    Looks like you're from the future. LOL

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

    https://www.tenforums.com/tutorials/6...dows-10-a.html
      My Computers


  3. Posts : 13
    Windows 10
    Thread Starter
       #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 Computer


  4. Posts : 186
    Windows 10 Home
       #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 Computer


  5. Posts : 5,478
    2004
       #5

    wguimb said:
    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:
    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 Computer


  6. Posts : 13
    Windows 10
    Thread Starter
       #6

    lx07 said:
    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 Computer


  7. Posts : 186
    Windows 10 Home
       #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; 21 Nov 2016 at 08:48.
      My Computer


  8. Posts : 13
    Windows 10
    Thread Starter
       #8

    lagunasrfr said:
    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 Computer


  9. Posts : 186
    Windows 10 Home
       #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 Computer


  10. Posts : 16
    windows 7 pro 64bit
       #10
      My Computer


 

  Related Discussions
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 10:24.
Find Us




Windows 10 Forums