---
title: currentTime()
framework: avfoundation
role: symbol
role_heading: Instance Method
path: avfoundation/avplayeritem/currenttime()
---

# currentTime()

Returns the current time of the item.

## Declaration

```swift
nonisolated func currentTime() -> CMTime
```

## Mentioned in

Controlling the transport behavior of a player

## Return Value

Return Value The current time of the item.

## See Also

### Accessing timing information

- [currentDate()](avfoundation/avplayeritem/currentdate().md)
- [duration](avfoundation/avplayeritem/duration.md)
- [timebase](avfoundation/avplayeritem/timebase.md)
