Hi Daniel Bazan,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I think the crucial part the implementation is to get the real time information via RTC module, and I've attached a RTC demo which illustrates the implementation, please refer to it for details.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------