# Time diff format

**URL:** <https://forums.losant.com/t/time-diff-format/2813>\
**Category:** Help\
**Tags:** workflow\
**Created:** [April 10, 2020, 3:18pm UTC](https://forums.losant.com/t/time-diff-format/2813 "2020-04-10T15:18:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [April 10, 2020, 3:18pm UTC](https://forums.losant.com/t/time-diff-format/2813/1 "2020-04-10T15:18:03Z")

</div>

I’m using a Date/Time node and am getting the difference back in milliseconds.  
How can I easiest show that in elapsed hours and minutes?

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [April 10, 2020, 3:31pm UTC](https://forums.losant.com/t/time-diff-format/2813/4 "2020-04-10T15:31:35Z")

</div>

@Lars_Andersson,

Where are you trying to display the elapsed time?

Also, you should check out this helper: `{{formatDateRelative date relativeTo}}`

> **[Accessing Payload Data](https://docs.losant.com/workflows/accessing-payload-data/#format-helpers)**
>
> Learn more about Losant workflows: how to work with and access payload data.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [April 10, 2020, 3:32pm UTC](https://forums.losant.com/t/time-diff-format/2813/5 "2020-04-10T15:32:55Z")

</div>

Writing it to a table
