---
title: "advanced(by:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/runloop/schedulertimetype/advanced(by:)"
---

# advanced(by:)

Returns a run loop scheduler time calculated by advancing this instance’s time by the given interval.

## Declaration

```swift
func advanced(by n: RunLoop.SchedulerTimeType.Stride) -> RunLoop.SchedulerTimeType
```

## Parameters

- `n`: A time interval to advance.

## Return Value

Return Value A dispatch queue time advanced by the given interval from this instance’s time.

## See Also

### Working with Scheduler Time Intervals

- [RunLoop.SchedulerTimeType.Stride](foundation/runloop/schedulertimetype/stride.md)
- [distance(to:)](foundation/runloop/schedulertimetype/distance(to:).md)
