# \[FEATURE\] Change date format in (everywhere) \<quarantine exports\> to standard format

**URL:** <https://forum.inductiveautomation.com/t/feature-change-date-format-in-everywhere-quarantine-exports-to-standard-format/73507>\
**Category:** Ignition\
**Created:** [May 10, 2023, 2:28am UTC](https://forum.inductiveautomation.com/t/feature-change-date-format-in-everywhere-quarantine-exports-to-standard-format/73507 "2023-05-10T02:28:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 10, 2023, 2:28am UTC](https://forum.inductiveautomation.com/t/feature-change-date-format-in-everywhere-quarantine-exports-to-standard-format/73507/1 "2023-05-10T02:28:23Z")

</div>

I feel this should apply across the board - "E MMM DD HH:mm:ss Z YYYY" is simply the worst time format for anything useful ☹ It's almost completely unsearchable (usefully)

But for this topic, can this be changed in the quarantine export, please, to ISO format `YYYY-MM-DDTHH :mm:ss.msTZ`?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/6/16c0f18b6d88b0bff86577d3e6f759b471eaeec1.png)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 16, 2023, 6:45am UTC](https://forum.inductiveautomation.com/t/feature-change-date-format-in-everywhere-quarantine-exports-to-standard-format/73507/2 "2023-05-16T06:45:58Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/6/a6ba79cfec3ee99b3dadf9fe0324f5f4e151b34e.png)  
ughhh

If system.date.parse can't parse the format by default, why is this the date format used everywhere? 😢

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 1, 2023, 2:58am UTC](https://forum.inductiveautomation.com/t/feature-change-date-format-in-everywhere-quarantine-exports-to-standard-format/73507/3 "2023-06-01T02:58:17Z")

</div>

`system.dataset.toCSV` makes me sad too... I can't use this function simply because of the fact the datetime format is useless

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/4/143dbfdd9fbdb064cf1fd351eaa194bdeab0e519.png)

Interestingly, it only ruins the date format if you set `localized=True` which is what I want to do

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 1, 2023, 7:56am UTC](https://forum.inductiveautomation.com/t/feature-change-date-format-in-everywhere-quarantine-exports-to-standard-format/73507/4 "2023-06-01T07:56:26Z")

</div>

You could pass your dataset through [system.dataset.formatDates](https://docs.inductiveautomation.com/display/DOC81/system.dataset.formatDates) first.  
It transforms dates into strings, so you'd handle localization there, and `toCSV` doesn't have to care.
