Set RTC in nRF52832

My application is built using the nRF52832 device. The system must only be "active" between certain times (5am through to 9pm).

I am a newbie and have no idea how to set the RTC of the nRF52832. I could either set the time in a text string OR set the time of the PC in the nRF52832 when the program is uploaded.

I use the following code snipped to check if the time is within 5am and 9pm:


        if(current_time.hours > 4 && current_time.hours <10)

I need to be able to set the following: date_time_set_timestamp() RTC2_date_time_clock_init_N_start()