---
title: currentTime
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudioplayer/currenttime
---

# currentTime

The current playback time, in seconds, within the audio timeline.

## Declaration

```swift
var currentTime: TimeInterval { get set }
```

## Discussion

Discussion If the sound is playing, this property value is the offset, in seconds, from the start of the sound. If the sound isn’t playing, this property indicates the offset from where playback starts upon calling the play() method. Use this property to seek to a specific time in the audio data or to implement audio fast-forward and rewind functions.

## See Also

### Accessing player timing

- [duration](avfaudio/avaudioplayer/duration.md)
