# GetTickCount()

Returns the native system time in milliseconds.

```
GetTickCount( unit=string );
```

**Returns:** number

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| unit | string | No | base unit for the function, valid values are: - nano: nano seconds - milli (default): milli seconds - second: seconds |  |

# Examples

```cfml
writeDump(label="getTickCount (milli/default)",
    var=getTickCount() );
writeDump(label="nano",
    var=getTickCount('nano') );
writeDump(label="second",
    var=getTickCount('second') );
```







# Categories

[Debugging](../../categories/debugging.md)