Hi all. I am using the value[0] of the XTrace on a power chart to query a historical tags value to display the value that was active at the time. i have my named query all set up but i need to convert the DateTime data type of the XTrace value to Unix time to query the Ignition historian. I have the Xtrace value tied to a memory tag and i am trying to use a Value Changed script to covert this. Any help would be greatly appreciated.
Figured this out, used toMillis in a function tag and it produced the value that i was looking for.