---
title: duration
framework: tvservices
role: symbol
role_heading: Instance Property
path: tvservices/tvtopshelfcarouselitem/duration
---

# duration

The length of the movie or show, in seconds.

## Declaration

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

## See Also

### Specifying the Item Details

- [contextTitle](tvservices/tvtopshelfcarouselitem/contexttitle.md)
- [summary](tvservices/tvtopshelfcarouselitem/summary.md)
- [genre](tvservices/tvtopshelfcarouselitem/genre.md)
- [creationDate](tvservices/tvtopshelfcarouselitem/creationdate.md)
