# Timestamp not showing up in template node when using moustache syntax

**URL:** <https://discourse.nodered.org/t/timestamp-not-showing-up-in-template-node-when-using-moustache-syntax/45149>\
**Category:** General\
**Created:** [4 May 2021 00:20 UTC](https://discourse.nodered.org/t/timestamp-not-showing-up-in-template-node-when-using-moustache-syntax/45149 "2021-05-04T00:20:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anakaine](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anakaine](https://discourse.nodered.org/u/anakaine)\
**Post date:** [4 May 2021 00:20 UTC](https://discourse.nodered.org/t/timestamp-not-showing-up-in-template-node-when-using-moustache-syntax/45149/1 "2021-05-04T00:20:16Z")

</div>

I'm using simpletime to try to inject a datestamp into a flow. I use a change node to set msg.timestamp, and this seems to appear in the debug node as a string. Great.

However, when I use a template node in an attempt to set a http response, the {{msg.timestamp}} will not show up, even though setting a debug node after this still shows that the timestamp is available as a string.

Unfortunately I can't share the whole workflow - so I hope this give an indication of whats happening. Relevant section of the flow, and a screenshot of the debug output.

Screenshot

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/8/a8d3c29cb997d908a0e5d1c0138704a991287c56.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/7/a7d78409c00ed26e45b4bd52f1a21781be1ad8cc.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [4 May 2021 01:13 UTC](https://discourse.nodered.org/t/timestamp-not-showing-up-in-template-node-when-using-moustache-syntax/45149/2 "2021-05-04T01:13:06Z")

</div>

Try `{{timestamp}}`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 July 2021 01:13 UTC](https://discourse.nodered.org/t/timestamp-not-showing-up-in-template-node-when-using-moustache-syntax/45149/3 "2021-07-03T01:13:57Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
