<p>Found the answer in the database. Apparently Sprout Forms uses the date field named "dateCreated". Also getting it in order by date (newest first) needs 'dateCreated desc'</p>

<pre><code>{% for formEntry in craft.sproutForms.entries.formHandle('contact').order('dateCreated desc') %}
   {{ formEntry.dateCreated|date('d F Y') }}
{% endfor %}
</code></pre>

CC BY-SA 3.0
2015-12-31T17:35:44.983Z
Using `dateCreated` is the recommended way.  `postDate` is an attribute specific to the Entry Element Type.
Ben Parizek
CC BY-SA 3.0
2015-12-31T13:32:09.120Z
2015-12-31T13:32:09.120Z
noregt
<p>I'm trying to display the postDate of Sprout Forms entries. The docs state that you can use standard Craft CMS tags. I tried:</p>

<pre><code>{% for formEntry in craft.sproutForms.entries.formHandle('contact').order(asc) %}
   {{ formEntry.postDate|date('d F Y') }}
{% endfor %}
</code></pre>

<p>And all kind of variations but the system states no method or closure with the name "postDate". All other fields output fine.</p>

<plugin-sproutforms><postdate>
Display postdate Spout Forms entries
# Display postdate Spout Forms entries

(Asked by: username_0 on 2015-12-31)

I'm trying to display the postDate of Sprout Forms entries. The docs state that you can use standard Craft CMS tags. I tried:
{% for formEntry in craft.sproutForms.entries.formHandle('contact').order(asc) %}
   {{ formEntry.postDate|date('d F Y') }}
{% endfor %}

And all kind of variations but the system states no method or closure with the name "postDate". All other fields output fine.

**Tags:** plugin-sproutforms, postdate

---

## 1 answers

### Answer by username_0 on 2015-12-31. Score: 2 | Accepted answer

Found the answer in the database. Apparently Sprout Forms uses the date field named "dateCreated". Also getting it in order by date (newest first) needs 'dateCreated desc'
{% for formEntry in craft.sproutForms.entries.formHandle('contact').order('dateCreated desc') %}
   {{ formEntry.dateCreated|date('d F Y') }}
{% endfor %}

> **Comments:**
> **username_1**: Using `dateCreated` is the recommended way.  `postDate` is an attribute specific to the Entry Element Type.  

---

