GetCurrentTicks

Returns the current server up-time

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Time/Date Manipulation

Syntax

  #include <nwtime.h>  
   
  LONG GetCurrentTicks  (void);
  

Return Values

Returns the current server up-time in ticks (approximately eighteenths of a second).

See Also

clock, time

Example

  #include <nwtime.h>  
   
  LONG   serverUpTime;  
  serverUpTime = GetCurrentTicks ();