Is it possible to define your own FormatTime ? From a dint a format to be formed without days , as the largest unit only hours.
Please post an example.
In the attached file it is included project documentation for requested function.
It converts full system time of the conteoller AC800M to INT variables: year, month, day, hour, sec...
You can easily use this code in your application.
I use it already and it is working.