NRF9160 - time.h source file?

I am working with nrf9160 and I am trying to get unix time in a user-readable form. I found this code online that helps me do that ( but the header file <time.h> on zephyr was empty. Can someone help me with the source file/contents for time.h?