I'm using the Alert Module to send emails, everything went right but it printed a UTC datetime. So my question is if it's possible to change this to local time (actually GMT -5 Peru).
So after alittle digging I found out that your choices for time are UTC or by using the %t characters you can have UNIX time.
However I did find a workaround in a tech support article that may fill your needs. I have pasted it below for your reference.
What you need to do is Link the Hour, Minute and Second Clock module output registers to Source2, 3 and 4 respectively of the Alert Module (if you use these sources, use the next three available ones). Then your module would look something like this:
Your message ie: Alert on %N1 (input 1) value: %V1 Local Time:%V2:%V3:%V4
and the email you get would read:
Message:Your message ie: Alert on Vll avg (input 1) value: 1039.45 Local Time:8:59:7
Time:11/01/2006 16:59:07 UTC
There is no way to mask the UTC reading, but in this case, you would at least get both times (UTC and Local).
Also this may be of relevance to members of the Hardware Power Monitoring forum. If you get a chance move the question there for others to view.
It can be found here:
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!