# Change String as Date in igntion

**URL:** <https://forum.inductiveautomation.com/t/change-string-as-date-in-igntion/106813>\
**Category:** Ignition\
**Created:** [May 29, 2025, 10:39am UTC](https://forum.inductiveautomation.com/t/change-string-as-date-in-igntion/106813 "2025-05-29T10:39:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divya\_K](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@Divya\_K](https://forum.inductiveautomation.com/u/Divya_K)\
**Post date:** [May 29, 2025, 10:39am UTC](https://forum.inductiveautomation.com/t/change-string-as-date-in-igntion/106813/1 "2025-05-29T10:39:27Z")

</div>

I have the string like this 'Mon May 19 00:00:00 EDT 2025' . I need to conver this as date.

---

<div class="post-metadata">

**Author:** ![rbabcock](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rbabcock/32/13425_2.png) [@rbabcock](https://forum.inductiveautomation.com/u/rbabcock)\
**Post date:** [May 29, 2025, 11:08am UTC](https://forum.inductiveautomation.com/t/change-string-as-date-in-igntion/106813/2 "2025-05-29T11:08:29Z")

</div>

The sort answer is use the system.date.parse function.

> **[system.date.parse | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-date/system-date-parse)**
>
> Attempts to parse a string and create a Date.
