getRealTimeClock Method

Package: Aladdin

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 method works for a Sentinel SL key, but reads the time from the computer's clock.)

Syntax

HaspTime Aladdin.Hasp.getRealTimeClock ( )

Returns

time

A HaspTime object

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. This method reads the Sentinel protection key time, not the expiration date time.