Function tickcount used as a replacement for GetTickCount, as it returns the number of milliseconds since the start-up of the server.

(&granularity = 0)
int granularity Upon return, this value contains the number of ticks that the internal system time will tick per second. This value therefore indicates the accuracy of the return value of this function.

Return Values:
The number of milliseconds since start-up of the system. For a 32-bit cell, this count overflows after approximately 24 days of continuous operation.


Related Functions
The following functions may be useful, as they are related to this function in one way or another.
  • GetTickCount: Get the uptime of the actual server.
  • gettime: Get the current time of the server as a unix timestamp.
  • getdate: Get the current date of the server.