# GetMSecTime

Returns elapsed time in milliseconds.

### Synopsis

`int32 GetMSecTime (Item ioreq)`

### Description

Return the elapsed milliseconds since power-on.

### Arguments

ioreq
  An IOReq item obtained from `GetTimerIOReq()`, or zero to have an IOReq dynamically created/deleted during the call.

### Return Value

Returns positive number of milliseconds or a negative error code.

### Implementation

Library call implemented in lib3do.lib.

### Associated Files

lib3do.lib, timerutils.h

### See Also

``GetTimerIOReq``