---
title: deviceCurrentTime
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudioplayer/devicecurrenttime
---

# deviceCurrentTime

The time value, in seconds, of the audio output device’s clock.

## Declaration

```swift
var deviceCurrentTime: TimeInterval { get }
```

## Discussion

Discussion The value of this property increases monotonically while an audio player is playing or is in a paused state. If you connect more than one audio player to the audio output device, the time continues incrementing while at least one of the players is playing or is in a paused state. If the audio output device has no connected audio players that are either playing or are in a paused state, device time reverts to 0.0.

## See Also

### Accessing device information

- [currentDevice](avfaudio/avaudioplayer/currentdevice.md)
