In such networks (single PLC and multiple HMIs), CPU is a "time master" (where master clock is). You synchronise HMI clocks using AREA POINTER (communication tab in WinCC). On screen, then you put a filed with Date/time tag, showing SYSTEM TIME. How to set master clock in PLC using both HMI? In some DB in PLC you must have a variable type DTL. Then, on screen, make a filed with DTL type INPUT/OUTPUT connecting that PLC variable from DB. Then, create a button to set one bit. Then, in PLC, when that bit is on positive edge, write that variable in PLC RTC using WRITE SYSTEM TIME istruction.