SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there someway to get the actual modified date of a file in a document library. Modified field has the modified date for the item and not the file so if one of the meta data of the file changes the modified field changes. Is it possible to use Property Promotion or something when uploading the file to get this property into some column?

share|improve this question
up vote 2 down vote accepted
  • Add a field to your list: "Document Last Modified"
  • Create an event receiver, easiest probably to override SPItemEventReceiver.ItemUpdated

  • Then you will need to update the field ("Document Last Modified") with the value:


You can find out other document properties using this powershell (or convert to c#)

(get-spsite "http://yoursite").RootWeb.Lists["Shared Documents"].Items |% {
    $file = $_; 
    $file.Properties.Keys |% {
        Write-Host $_ "=" $file.Properties[$_] 
share|improve this answer

I think the only way you could achieve this by creating an event receiver in code.

So you could check every time a document is uploaded or modified check the time of the file and set it to a desired column

just an idea :)

you can find some info about event receivers here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.