How can i set the rtc of the axc f 3152 through the application

Hello Community,
As I write in the RTC of the AXC F 3152 through the program, I found how to read it.
The RTC will be adjusted through modbus TCP when necessary through a supervisor.

The PLCnextBase library has a function block called „PBCL_DateTimeSet_1“.