1

I've just noticed that there's a Date Created value that appears for each entry in the control panel. Here's a screenshot:

screenshot.

How can I edit this Date Created value?

I've just looked at the craft_entries table and edited the dateCreated value for the entry in question, but when I refreshed the entry in the control panel, the Date Created value remained as it was previously.

3

If you want to edit that value in the database, then you'll need to find the corresponding row in the craft_elements table and update the dateCreated column there.

3
  • Thanks Brad. Should I edit the value in craft_elements as well as the value in craft_entries? Or instead of the value in craft_entries?
    – Stephen
    Apr 20 '16 at 17:50
  • Depends on how OCD you are. :)
    – Brad Bell
    Apr 20 '16 at 17:54
  • 1
    Very, or I wouldn't have posted this thread in the first place I guess! :-) I'll do both then. By the way, the reason I want to edit this date is because the homepage entry in my standard build never gets deleted/re-created, so I didn't want client sites to have a Date Created date that was 2 years before I'd even built the site in case they thought it was strange.
    – Stephen
    Apr 20 '16 at 17:59

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.