Hello @Transidico,
The SDK (version 24.12) provides some examples with the propose of show the RTC functionality, as shown the next image:

Where you can download the SDK through SDK builder.
At the same time, you can download the SDK inside MCUxpresso IDE clicking the next button:

Inside to the window called "Download and install SDK" you can search the MCXC242 in the filter, where it will be showing the available SDK, as shown in the next image:

Also, if you experience any issue, do not hesitate to let me know.
BR
Habib