Historian time stamp source

Hello Folks,

I am using the BasicQualifiedValue script to update my timestamp and value to the tag(Which I read from external database). It is successful but I am not able to sync the timestamp up to the historian.

How the timestamp is handled by ignition historian? If I have to use the source timestamp for my historian what shall I do?

Can you help me?

Thanks & Regards,

Historian stores the timestamps as epoch time also called unix time. But it does it in milliseconds, seconds is more common. You may need to do some casting to get it in a format you can use.