---
title: seconds
framework: coremedia
role: symbol
role_heading: Instance Property
path: coremedia/cmtime/seconds
---

# seconds

A representation of the time in seconds.

## Declaration

```swift
var seconds: Double { get }
```

## Discussion

Discussion If the time is invalid or indefinite, the value equals nan.

## See Also

### Inspecting a Time

- [hasBeenRounded](coremedia/cmtime/hasbeenrounded.md)
- [isValid](coremedia/cmtime/isvalid.md)
- [isNumeric](coremedia/cmtime/isnumeric.md)
- [isIndefinite](coremedia/cmtime/isindefinite.md)
- [isPositiveInfinity](coremedia/cmtime/ispositiveinfinity.md)
- [isNegativeInfinity](coremedia/cmtime/isnegativeinfinity.md)
