First off, we are using Ignition version 7.7.4. I am trying to extract the different parts of a date for transmission into a database. Using the ‘dateExtract’ command, I was previously pulling the current time in with the ‘now’ tag, and getting the data I needed. The requirements have changed, so now I need to have this date/time info in UTC, instead of the gateway timezone (currently CST). There are other tags in the project that require the current gateway time, so I can’t change the ‘timezone behavior’ for the ‘now’ tag. Is there a system tag that has this info? Or is there an easy way to script a memory tag to convert the ‘now’ tag to UTC?
Here is an example as to how we are going to use this info:
Thanks for the help in advance!