Answers.Body: <pre><code>{% if entry.postDate &gt; now|date_modify("-1 month") %}
      {# Output #}
  {% endif %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-29T11:09:46.890Z
Answers.LastActivityDate: 2016-04-29T11:09:46.890Z
Answers.UserDisplayName: darylknight
Body: <p>How can I check if an Entry was posted less than a month ago?</p>
  
Tags: <entry><datetime><postdate>
Title: How do I check if an Entry is new?
ThreadText: # How do I check if an Entry is new?
  
  (Asked by: username_0 on 2016-04-29)
  
  How can I check if an Entry was posted less than a month ago?
  
  **Tags:** entry, datetime, postdate
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-04-29. Score: 2 | Accepted answer
  
  ```
  {% if entry.postDate > now|date_modify("-1 month") %}
      {# Output #}
  {% endif %}
  
  ```
  
  
  ---
  
  