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

# advanced(by:)

Calculates an operation queue scheduler time by advancing the scheduler time type’s date by the given interval.

## Declaration

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

## Parameters

- `n`: The time interval to advance doc://com.apple.foundation/documentation/Foundation/OperationQueue/SchedulerTimeType/date by.

## Return Value

Return Value An operation queue scheduler time advanced by the given interval from date.

## See Also

### Managing Scheduler Time Type Properties

- [date](foundation/operationqueue/schedulertimetype/date.md)
- [distance(to:)](foundation/operationqueue/schedulertimetype/distance(to:).md)
- [OperationQueue.SchedulerTimeType.Stride](foundation/operationqueue/schedulertimetype/stride.md)
