add rtc_time function

this adds the missing header export of `rtc_time` and an implementation for native