# Time format when exporting device data

**URL:** <https://forums.losant.com/t/time-format-when-exporting-device-data/3115>\
**Category:** Help\
**Tags:** devices\
**Created:** [July 13, 2020, 8:34pm UTC](https://forums.losant.com/t/time-format-when-exporting-device-data/3115 "2020-07-13T20:34:13Z")\
**Posts on this page:** 6\
**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:** [July 13, 2020, 8:34pm UTC](https://forums.losant.com/t/time-format-when-exporting-device-data/3115/1 "2020-07-13T20:34:13Z")

</div>

Can an ISO timestamp be part of the exported device data? Not just the Unix timestamp.  
(either from devices or notebook import dataexport)

---

<div class="post-metadata">

**Author:** ![Aidan\_Zebertavage](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/aidan_zebertavage/32/2719_2.png) [@Aidan\_Zebertavage](https://forums.losant.com/u/Aidan_Zebertavage)\
**Post date:** [July 13, 2020, 9:35pm UTC](https://forums.losant.com/t/time-format-when-exporting-device-data/3115/3 "2020-07-13T21:35:05Z")

</div>

@Lars_Andersson,

No, we are locked into the Unix timestamp when exporting device data.

You could use Notebooks and add a new column to your data export with an ISO date, using the supported [Pendulum library](https://pendulum.eustace.io/):

> **[Notebooks Execution Overview](https://docs.losant.com/notebooks/execution/overview/#supported-versions)**
>
> Learn about executing Losant Notebooks.

Or you would have to do the conversion directly on your local machine.

Thanks,  
@Aidan_Zebertavage

---

<div class="post-metadata">

**Author:** ![Aidan\_Zebertavage](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/aidan_zebertavage/32/2719_2.png) [@Aidan\_Zebertavage](https://forums.losant.com/u/Aidan_Zebertavage)\
**Post date:** [July 13, 2020, 9:51pm UTC](https://forums.losant.com/t/time-format-when-exporting-device-data/3115/5 "2020-07-13T21:51:59Z")

</div>

@Lars_Andersson,

Apologies, in digging into this further, ISO date _is_ on the export when you use the `Request Data Export` bulk action.

> **[Bulk Device Actions](https://docs.losant.com/devices/bulk-actions/#request-data-export)**
>
> Learn about bulk device actions in the Losant platform.

And I just pulled an export from a sample application I have running, see below:

![Screen Shot 2020-07-13 at 5.47.53 PM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/d/de183179f7616bc88bf80e03821bc77c21728f24.png)

Are you looking for other sources for this timestamp? Can you help me understand what you mean by “from devices” in your initial post?

Thanks,  
@Aidan_Zebertavage

---

<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:** [July 13, 2020, 10:23pm UTC](https://forums.losant.com/t/time-format-when-exporting-device-data/3115/6 "2020-07-13T22:23:05Z")

</div>

ok, great.  
I had missed it was part of Bulk device export

---

<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:** [July 13, 2020, 10:29pm UTC](https://forums.losant.com/t/time-format-when-exporting-device-data/3115/7 "2020-07-13T22:29:29Z")

</div>

But that option won’t allow me do select just the attributes needed.

---

<div class="post-metadata">

**Author:** ![Aidan\_Zebertavage](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/aidan_zebertavage/32/2719_2.png) [@Aidan\_Zebertavage](https://forums.losant.com/u/Aidan_Zebertavage)\
**Post date:** [July 14, 2020, 2:48pm UTC](https://forums.losant.com/t/time-format-when-exporting-device-data/3115/9 "2020-07-14T14:48:50Z")

</div>

@Lars_Andersson,

That’s correct, the bulk device export contains all the associated device data/attributes.

I would look at using Notebooks to better customize the device data being exported.

Thanks,  
@Aidan_Zebertavage
