---
title: SRAbsoluteTime
framework: sensorkit
role: symbol
role_heading: Structure
path: sensorkit/srabsolutetime
---

# SRAbsoluteTime

A value that describes when the system records the data.

## Declaration

```swift
struct SRAbsoluteTime
```

## Discussion

Discussion This value tracks monotonically increasing device-specific time, unlike mach_continuous_time, which keeps tracking across reboots. Although a fetch can query a device other than a phone (such as a paired watch), the framework consistently describes time according to the phone. Any fetch results from a paired watch are in the phone’s version of SRAbsoluteTime.

## Topics

### Creating an Absolute Time

- [init(_:)](sensorkit/srabsolutetime/init(_:).md)
- [init(rawValue:)](sensorkit/srabsolutetime/init(rawvalue:).md)

### Accessing the Current Absolute Time

- [current()](sensorkit/srabsolutetime/current().md)

### Converting Absolute Times

- [toCFAbsoluteTime()](sensorkit/srabsolutetime/tocfabsolutetime().md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Defining the Time Range

- [from](sensorkit/srfetchrequest/from.md)
- [to](sensorkit/srfetchrequest/to.md)
- [current()](sensorkit/srabsolutetime/current().md)
- [toCFAbsoluteTime()](sensorkit/srabsolutetime/tocfabsolutetime().md)
