Switch to desktop version  
Tag date and real date don't match - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Talk2m & Argos API (https://techforum.ewon.biz/forum-54.html)
+---- Forum: DMWeb API (https://techforum.ewon.biz/forum-11.html)
+---- Thread: Tag date and real date don't match (/thread-1900.html)



Tag date and real date don't match - daan.vanheusden - 21-12-2021

Hi everyone,

I'm using talk2m to send my data.
Altough the data that I'm recieving is in a different time zone.
For example, the data on the ewon is at 15:00 but I recieve the tag with the time 14:00
Is there a way I can send the data with a good timezone?
If I use the console on the ewon and use PRINT TIME$ I get the right time
And when I use PRINT GETSYS PRG, "TIMESEC" And convert that to regular date and time I get the time but and hour earlier.

With kind regards,
Daan


RE: Tag date and real date don't match - ziozetti - 22-12-2021

Hi Daan,
maybe you can find some useful information here: https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0284-01-en-utc-timestamp-logging.pdf?sfvrsn=28bd4ad7_7


RE: Tag date and real date don't match - tedsch - 22-12-2021

Maybe you could set the time zone of the Flexy unit to UTC time. Then also log your data in UTC time. Then when reviewing your data convert it to the local time zone if needed.