GetCurrentTime

Returns the current time in clock ticks since the server was loaded.

Thread Context:Non-Blocking

Syntax

    LONG GetCurrentTime (void);
    
    

Return Values

The number of clock ticks (1/18th second) since the server was last loaded and began execution.

Remarks

This call is useful to determine the current relative time in order to determine the elapsed time between events. The current time value less the value returned at the beginning of an event is the elapsed time since the event occurred in 1/18th second clock ticks. It requires more than 2,761 days (over 7.5 years) of continuous server operation before this timer will roll over.