System Date & time change during runtime?

System Date & time change during runtime?

Hi all.

What is the easiest way to change system date and time from Runtime.
I read about function Read time from variable, but I do't need to change (synchronize) time with PLC.
I just want to change system (PC) time?!

Is there some system variables which stores date and time, and could be changed from runtime?

Thanks in advance.
MK

This is a migrated post! Originally posted on 07.07.2022 by user milosh. Please be aware that information can be outdated.