GetRtc Function
Description
Reads the current time from:
>a Sentinel HL Time key
>a Sentinel HL NetTime key
>a Sentinel HL (Driverless configuration) key that supports V-Clock
(The function works for a Sentinel SL key, but reads the time from the computer's clock.)
Syntax
hasp_status_t HASP_CALLCONV hasp_get_rtc(
hasp_handle_t handle,
hasp_time_t * time
)
Parameters
|
Handle for the session |
|
Pointer to the current time |
Return Values
Usage Notes
Primarily used to obtain reliable timestamps that are
independent of the system clock. Time values are returned as the number
of seconds that have elapsed since Jan.-01-1970 0:00 hours UTC.