---
title: time
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phlivephotoframe/time
---

# time

The time offset, in seconds, of this frame relative to the start of the Live Photo.

## Declaration

```swift
var time: CMTime { get }
```

## Discussion

Discussion You can use this value to vary your image processing over time, creating animated effects. For example, the following code sets up an animated filter that fades from sepia tone to original to sepia tone again over the duration of the Live Photo:

## See Also

### Getting Information About the Frame

- [renderScale](photos/phlivephotoframe/renderscale.md)
- [type](photos/phlivephotoframe/type.md)
- [PHLivePhotoFrameType](photos/phlivephotoframetype.md)
