Write time to variable

Previous chapterNext chapter Show allShow all    Hide allHide all

With this function a connected PLC can be synchronized with the PC. When executing this function, the System time is taken and saved in a String varialbe of the format: DD.MM.YYYY HH:MM:SS

The name of the variable has to be given as a parameter.