copy the timestamp from a variable to another in zenon logic

copy the timestamp from a variable to another in zenon logic

Dear support
in zenon logic we want to copy the the timestamp from IEC61850 variable( created in zenon studio)  to another variable created in zenon logic and show them  in the alarm message list in zenon runtime.
we use Vsigettime  and Vsisettime fontion .
the issue that we have a different timestamp in AML in zenon runtime and the same timestamp in zenon logic.Please can u tell us what's the problem. We send the setting and zenon program in the attached file .

best regards
ahmed