Hi All, Thanks for your answers. I have used the TOD function in my program. BR Yann
Hi everyone, First, I used Codesys V3.5.14 with Eaton XV303 PLC. I want to extract the current time of the PLC to used it in my programme. Currently I already extract the date and time with the function : gettimedate(). But this function return the current date and time and for my programme I want only current time. Can you help? Maybe it's possible to extract the time from the function gettimedate() or extract directly the current time from my PLC.