Windows 10: How to programmatically get date modified on file in my OneDrive apps path?

Discus and support How to programmatically get date modified on file in my OneDrive apps path? in Windows 10 Software and Apps to solve the problem; I am able to see the item using: var onedrive = OneDriveClientExtensions.GetUniversalClientnew[] { "wl.signin", "onedrive.appfolder" };... Discussion in 'Windows 10 Software and Apps' started by Jim Coates, Apr 29, 2020.

  1. How to programmatically get date modified on file in my OneDrive apps path?


    I am able to see the item using:


    var onedrive = OneDriveClientExtensions.GetUniversalClientnew[] { "wl.signin", "onedrive.appfolder" };
    await onedrive.AuthenticateAsync;
    var item = onedrive.Drive.Special.AppRoot.ItemWithPath"Backups/myapp-backup.xml";
    if item != null {

    ??? - How do I get the date modified?

    }

    :)
     
    Jim Coates, Apr 29, 2020
    #1
  2. Aaron_Sum Win User

    Illogical date modified updating

    Hi,

    Thank you for writing to Microsoft Community Forums.

    I understand that the modified date is just as important as the created date within the metadata of a given file. We will look into this for you.
    However, in order to get clarity and to assist you accordingly, please reply with the answers to the questions below.

    1. What is the build of Windows 10 running on your system?
    2. Was there any major change or an update on your system prior to which you weren’t facing this issue?
    3. Is the issue only with the pictures taken from the camera or the other pictures and files within the system as well?

    Meanwhile, I would suggest you to follow the steps below and check if it is helpful to you.

    Method 1: Enable the Date Modified Column in the File Explorer.

    To enable the Date modified column within the particular folder, please follow the steps below.

    1. Open the Folder in which you wish to see the Date modified column.
    2. Right-click on the
      Header for Name, date, type etc. This will give you a list of columns that can be displayed.
    3. Select the option Date modified, clearing the tick removes that column.
    4. Modify a file and check if it is being reflected in the Date modified column.

    If the issue still persists, where you aren’t able to see the value in the Date modified column even after making the changes to the particular file, please follow ‘Method 2’.

    Method 2: Create a new user account.

    This issue could be due to profile corruption. Hence to eliminate possibilities, I would suggest you to ‘Create
    a local user or administrator account
    ’ and check if the issue persists.

    Note:
    You will not see all your files under your default file location. So your data will be saved under C:\users\user_name.

    We await your response.

    Aaron Summith

    Microsoft Community - Moderator
     
    Aaron_Sum, Apr 29, 2020
    #2
  3. Windows 10 - OneDrive

    Right click on the app and one of the properties has an option to not automatically start it. Uncheck, restart the computer, and it should stop. If you want to go another step further, find the OneDrive app in the start menu, right click on it and uninstall.

    If that is still insufficient, there is a batch uninstaller for OneDrive available online. I can copy the code here if you need it.
     
    FordGT90Concept, Apr 29, 2020
    #3
  4. Xylee Del Win User

    How to programmatically get date modified on file in my OneDrive apps path?

    File Explorer Date Created and Modified not always correct

    Hi,

    The File Explorer may have encountered a system conflict that caused this issue. For us to start with initial troubleshooting, we'd like to know more information, kindly answer the following questions:

    • Which build and version of Windows 10 do you have?
    • In File Explorer, what does it indicate in the Date column? Does it show Date Modified or Date Created? (right click the Date Modified section at the top, which are the ones that has a checkmark?)
    • Which troubleshooting steps have you done so far?

    Kindly get back to us for further assistance.
     
    Xylee Del, Apr 29, 2020
    #4
Thema:

How to programmatically get date modified on file in my OneDrive apps path?

Loading...
  1. How to programmatically get date modified on file in my OneDrive apps path? - Similar Threads - programmatically date modified

  2. File's 'date modified' is missing

    in Windows 10 Gaming
    File's 'date modified' is missing: I have a file that isn't showing the date modified on file explorer. When checking it's properties, the modified date only shows: 12:00:00 AM, no date. It has a creation date, and doesn't have previous versions to restore.How can I fix this to show the correct modified date?...
  3. File's 'date modified' is missing

    in Windows 10 Software and Apps
    File's 'date modified' is missing: I have a file that isn't showing the date modified on file explorer. When checking it's properties, the modified date only shows: 12:00:00 AM, no date. It has a creation date, and doesn't have previous versions to restore.How can I fix this to show the correct modified date?...
  4. How to get my desktop dir path programmatically after I moved it

    in Windows 10 Network and Sharing
    How to get my desktop dir path programmatically after I moved it: I've redirected the "Desktop" folder to another disk so that I will not lose anything on the desktop after I reset/re-install the OS.And here comes the problem, a program is trying to export files to the Desktop, and it found the original %USERPROFILE%/Desktop which is...
  5. How to get my desktop dir path programmatically after I moved it

    in Windows 10 Gaming
    How to get my desktop dir path programmatically after I moved it: I've redirected the "Desktop" folder to another disk so that I will not lose anything on the desktop after I reset/re-install the OS.And here comes the problem, a program is trying to export files to the Desktop, and it found the original %USERPROFILE%/Desktop which is...
  6. How to get my desktop dir path programmatically after I moved it

    in Windows 10 Software and Apps
    How to get my desktop dir path programmatically after I moved it: I've redirected the "Desktop" folder to another disk so that I will not lose anything on the desktop after I reset/re-install the OS.And here comes the problem, a program is trying to export files to the Desktop, and it found the original %USERPROFILE%/Desktop which is...
  7. OneDrive changing 'date modified' when file just opened not modified

    in Windows 10 Network and Sharing
    OneDrive changing 'date modified' when file just opened not modified: How do I stop OneDrive from changing the 'date modified" to todays date when I just open but don't modify a file or when I move a file or folder to another folder....
  8. Programmatically Modifying Windows 10 Default App Settings

    in Windows 10 Customization
    Programmatically Modifying Windows 10 Default App Settings: Hi, I'd like a way to programmatically modify the default app settings on my workstation. I'm running Windows 10 Enterprise, version 1809, OS build 1763.1217. My specific problem is that my default web browser keeps reverting back to Internet Explorer whenever I reboot my...
  9. Date Modified in File Explorer

    in Windows 10 Network and Sharing
    Date Modified in File Explorer: Hi, Recently I discovered that some of the files in a folder have missing date modified information in the date modified column. Please see the below screenshots describing the exact problem. [ATTACH] When I select 'Properties' of a file that does not have date...
  10. Impossible 'modified' dates on files - how?

    in Windows 10 Support
    Impossible 'modified' dates on files - how?: Going through some folders on my laptop, there are a number of .wav files that I created myself on a digital piano I bought in late 2015. The weird thing is the 'Date Modified' column shows they were modified in 2013, which I know is impossible because I had no digital piano...