How to get timestamp with nrf52840 using RTC

Hi all,

In my project i want to get the timestamp with help of RTC. but when i am printing timestamp it is giving timestamp after power on of the device but i want epoch time for current date and time. how i can get that?

Thanks,

Revati

Related