---
title: "milliseconds(_:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/runloop/schedulertimetype/stride/milliseconds(_:)"
---

# milliseconds(_:)

Converts the specified number of milliseconds into an instance of this scheduler time type.

## Declaration

```swift
static func milliseconds(_ ms: Int) -> RunLoop.SchedulerTimeType.Stride
```

## See Also

### Converting to Seconds

- [microseconds(_:)](foundation/runloop/schedulertimetype/stride/microseconds(_:).md)
- [nanoseconds(_:)](foundation/runloop/schedulertimetype/stride/nanoseconds(_:).md)
- [seconds(_:)](foundation/runloop/schedulertimetype/stride/seconds(_:)-4kk8j.md)
- [seconds(_:)](foundation/runloop/schedulertimetype/stride/seconds(_:)-48wwk.md)
