This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to generate unix epoch time stamp using Nrf52840 ?

I have been working with nrf52 to produce unix time stamp but it using the rtc is a tougher task. Hence, Please help in providing a header file that has a macro such as time_t which had the ability to give current time as time stamp. I tried using header files given for arduino and C. I am getting error such as time_t type name not found. I am trying to get the time stamp using a simple hack. Please, help in providing a valid header file to provide the time epoch. The link for the header file is given below

codeload.github.com/.../master

Related