# Alert Summary Date Format

**URL:** <https://forum.inductiveautomation.com/t/alert-summary-date-format/1570>\
**Category:** Ignition\
**Created:** [February 24, 2010, 3:14pm UTC](https://forum.inductiveautomation.com/t/alert-summary-date-format/1570 "2010-02-24T15:14:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterThornton](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@PeterThornton](https://forum.inductiveautomation.com/u/PeterThornton)\
**Post date:** [February 24, 2010, 3:14pm UTC](https://forum.inductiveautomation.com/t/alert-summary-date-format/1570/1 "2010-02-24T15:14:10Z")

</div>

How can I change the date format in the built in alert summary table?

It defaults to hh:mm:ss AM mm/dd/yyyy, where as I need hh:mm:ss dd/mm/yyyy in 24 hour notation.

Is this possible?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [February 24, 2010, 4:39pm UTC](https://forum.inductiveautomation.com/t/alert-summary-date-format/1570/2 "2010-02-24T16:39:31Z")

</div>

Darn! Somehow me managed to forget to expose the alert summary table’s dateFormat property. Sorry about that. It will be included in the next release, which should be next week.

If you can’t wait that long then in the meantime you can set it through scripting. ( the feature exists - we just forgot to expose it through the Designer’s property editor table) For example, you might put this in your window’s internalFrameActivated script to set the property every time a window opens:

`table = event.source.rootContainer.getComponent("Alert Summary")
table.dateFormat = "HH:mm:ss dd/mm/yyyy"`

Remember, this script will only run in the Designer’s “preview mode” or in an actual Client, not normally in the Designer.

---

<div class="post-metadata">

**Author:** ![PeterThornton](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@PeterThornton](https://forum.inductiveautomation.com/u/PeterThornton)\
**Post date:** [February 24, 2010, 5:44pm UTC](https://forum.inductiveautomation.com/t/alert-summary-date-format/1570/3 "2010-02-24T17:44:20Z")

</div>

Sounds good thanks.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [February 24, 2010, 5:45pm UTC](https://forum.inductiveautomation.com/t/alert-summary-date-format/1570/4 "2010-02-24T17:45:29Z")

</div>

This is in for 7.0.4. Also added a number format property for formatting the active and/or clear values for an alert.
