# How to reference a Date field in a Template?

**URL:** <https://community.fibery.io/t/how-to-reference-a-date-field-in-a-template/10194>\
**Category:** Get Help\
**Created:** [December 19, 2025, 8:00pm UTC](https://community.fibery.io/t/how-to-reference-a-date-field-in-a-template/10194 "2025-12-19T20:00:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [December 19, 2025, 8:00pm UTC](https://community.fibery.io/t/how-to-reference-a-date-field-in-a-template/10194/1 "2025-12-19T20:00:15Z")

</div>

I dumped all fields of ‘Entity’ in an HTML template, and two Date fields were missing (among others).

How to make all “Entity” fields available in an HTML template?

@Chr1sG

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [January 6, 2026, 10:02pm UTC](https://community.fibery.io/t/how-to-reference-a-date-field-in-a-template/10194/2 "2026-01-06T22:02:51Z")

</div>

Bump @Chr1sG - a little help, pretty please?

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 6, 2026, 10:48pm UTC](https://community.fibery.io/t/how-to-reference-a-date-field-in-a-template/10194/3 "2026-01-06T22:48:39Z")

</div>

Sorry, your question fell off my radar in the runup to Xmas.

You should be able to use the normal method for referencing fields, e.g. `{{Creation Date}}`

Or have I missed the point of the q ?

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [January 7, 2026, 1:25am UTC](https://community.fibery.io/t/how-to-reference-a-date-field-in-a-template/10194/4 "2026-01-07T01:25:47Z")

</div>

The Entity fields need to be referenced in javascript.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 7, 2026, 7:08am UTC](https://community.fibery.io/t/how-to-reference-a-date-field-in-a-template/10194/5 "2026-01-07T07:08:29Z")

</div>

```auto
<%
const fibery = context.getService('fibery');
const EntityPlus = await fibery.getEntityById(Entity.type, Entity.Id, ['Creation Date']);
const CreationDate = EntityPlus['Creation Date'];
%>
<%= CreationDate %>

```

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 9, 2026, 11:59am UTC](https://community.fibery.io/t/how-to-reference-a-date-field-in-a-template/10194/6 "2026-01-09T11:59:07Z")

</div>


