Can someone explain exactly what each of the above refers to when talking about assets? In particular, the difference between dateModified and dateUpdated.

1 Answer 1


dateCreated and dateUpdated are pretty standard columns that you can find in pretty much every Craft database table. They store the date in which the row was created and last updated, respectively.

dateModified is an assets-specific thing, and that stores the time that the file was last modified, according to the file system.

  • Thanks. So dateUpdated is the attribute to order by if I want to produce a list of 'new' assets? Jul 27, 2014 at 16:29
  • @BruceJohnson Probably dateCreated, since dateUpdated will get updated whenever you make changes on your asset’s metadata. Jul 28, 2014 at 0:02
  • I should have mentioned it before but that's exactly the behaviour I'm looking for. I want the most "newly updated" assets, if you like. Jul 28, 2014 at 0:42
  • In that case dateUpdated is the way to go! Jul 28, 2014 at 2:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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