add rtc_time function in public header
add rtc_time implementation for native