web stats
Mirth Community - View Single Post - Convert date regardless of incoming pattern
View Single Post
Old 09-14-2018, 12:37 PM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 894
agermano is on a distinguished road

In the Channels screen, on the left you will see "Edit Code Templates." Go there, and create a new Code Template Library and associate it with any channels that need the function. Then create a new Code Template in your Library and paste "The Code" from the forum post you linked.

After that, you should be able to call convertDate from your transformer.

Download the user guide from the mirth downloads page for more information. It has pictures.
Reply With Quote