---
title: playbackTime
framework: musickit
role: symbol
role_heading: Instance Property
path: musickit/musicplayer/playbacktime
---

# playbackTime

The current playback time, in seconds, of the current entry.

## Declaration

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

## Discussion

Discussion Changing the value of this property moves the playhead to the new location. For content streaming live from a server, this value represents the time from the beginning of the playlist when it first loads. This property returns NaN if the CMTime is invalid or indefinite.
