# Timers user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <Timers.au3>.

User Defined Function | Description
--- | ---
_Timer_Diff | Returns the difference in time from a previous call to _Timer_Init
_Timer_GetIdleTime | Returns the number of ticks since last user activity (i.e. KYBD/Mouse)
_Timer_GetTimerID | Returns the Timer ID from $wParam
_Timer_Init | Returns a timestamp (in milliseconds)
_Timer_KillAllTimers | Destroys all the timers
_Timer_KillTimer | Destroys the specified timer
_Timer_SetTimer | Creates a timer with the specified time-out value