Contents

SRAbsoluteTime

A value that describes when the system records the data.

Declaration

struct SRAbsoluteTime

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

Accessing the Current Absolute Time

Converting Absolute Times

See Also

Defining the Time Range