# Device:Export Node wrong HOUR timestamp

**URL:** <https://forums.losant.com/t/device-export-node-wrong-hour-timestamp/2491>\
**Category:** Help\
**Tags:** dashboard, workflow\
**Created:** [December 21, 2019, 11:45pm UTC](https://forums.losant.com/t/device-export-node-wrong-hour-timestamp/2491 "2019-12-21T23:45:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Cruz](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/jose_cruz/32/1580_2.png) [@Jose\_Cruz](https://forums.losant.com/u/Jose_Cruz)\
**Post date:** [December 21, 2019, 11:45pm UTC](https://forums.losant.com/t/device-export-node-wrong-hour-timestamp/2491/1 "2019-12-21T23:45:52Z")

</div>

🆘Currently I have a dashboard Report Input Control Box that triggers a dashboard Device:Export Losant API process with 3 options for ‘back in time’ reporting (in ms) : 24 hrs, 7 days and 30 days ⤵

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/6/63acdec6e490bbb62d8237cd3146156af1437972.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/3/3bc81ffdbe51c3013c00cfd2f8167d9cd0e06b40.png)  
The report is sent to an e-mail, looks great - but the actual HOUR in the ISO Date is ‘off’ by 5 hours (I’m assuming is a Time Zone issue as I’m in GMT-5) ⤵  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/6/68b5bca2ac3677d3edf74f636f93c6fe5135b1b2.png)  
I tried various things, looked for solutions on the Forums, including adding a 5hr difference/Time Zone option in the dashboard box ⤵  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/9/98e232d39e4bd6afdf3d05bc3f29b6988e9c5244.png)  
But I just end up actually offsetting not just the HOUR but ALL data by 5 HOURS since the problem here is just the HOUR ‘stamp’, not the whole data. I can ‘fix’ this in the final 📄CSV/XLS VBA report, but was wondering if I’m missing something or if there’s a way to do it right out of the platform which would be best. All 🗳suggestions are welcomed. Thanks, 🔴

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [December 23, 2019, 7:51pm UTC](https://forums.losant.com/t/device-export-node-wrong-hour-timestamp/2491/2 "2019-12-23T19:51:02Z")

</div>

Hi @Jose_Cruz,

I might recommend trying out the [`{{formatDate }}`](https://docs.losant.com/workflows/accessing-payload-data/#format-helpers) helper or the [Date/Time Node](https://docs.losant.com/workflows/logic/date-time/). I frequently use these with a template of `YYYY-MM-DDThh:mm:ss[Z]`, as it forms my timestamp without the UTC offset. This should remove the 5-hour date change you are seeing while still displaying the time correctly.

Please let me know if this does not work with your use case!

Thanks,  
Julia

---

<div class="post-metadata">

**Author:** ![Jose\_Cruz](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/jose_cruz/32/1580_2.png) [@Jose\_Cruz](https://forums.losant.com/u/Jose_Cruz)\
**Post date:** [December 23, 2019, 8:06pm UTC](https://forums.losant.com/t/device-export-node-wrong-hour-timestamp/2491/3 "2019-12-23T20:06:56Z")

</div>

Ok, let me try that and I’ll get back to you - as always, thank you and 🎄Merry Xmas to all at ♾Losant. 🔴
