Answers.Body: <p>You can <a href="https://craftcms.com/docs/templating/craft.entries#order" rel="nofollow">order</a> entries by <code>dateUpdated</code> in descending order and then get the first entry. You would use that entries <code>dateUpdated</code> field to show when the site was last updated.</p>
  
  <pre><code>{% set entry = craft.entries.order( 'dateUpdated desc' ).first() %}
  {{ entry.dateUpdated }}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-24T22:11:20.950Z
Answers.Text: As a side note to this answer when I needed to do this I had to change order to: .order('elements.dateUpdated desc')
Answers.UserDisplayName: John Moylan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-24T16:57:41.330Z
Answers.LastActivityDate: 2016-05-24T16:57:41.330Z
Answers.UserDisplayName: Luke Pearce
Body: <p>I would like to display the date that the site was last updated. This date is the same as the last entry added to a specific category. Thanks in advance.</p>
  
Tags: <templating><entries><updating>
Title: How can I display dateUpdated for the most recent updated entry in a category?
ThreadText: # How can I display dateUpdated for the most recent updated entry in a category?
  
  (Asked by: username_0 on 2016-05-24)
  
  I would like to display the date that the site was last updated. This date is the same as the last entry added to a specific category. Thanks in advance.
  
  **Tags:** templating, entries, updating
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-05-24. Score: 2 | Accepted answer
  
  You can [order](https://craftcms.com/docs/templating/craft.entries#order) entries by `dateUpdated` in descending order and then get the first entry. You would use that entries `dateUpdated` field to show when the site was last updated.
  
  ```
  {% set entry = craft.entries.order( 'dateUpdated desc' ).first() %}
  {{ entry.dateUpdated }}
  
  ```
  
  > **Comments:**
  > **username_2**: As a side note to this answer when I needed to do this I had to change order to: .order('elements.dateUpdated desc')  
  
  ---
  
  