---
title: current()
framework: sensorkit
role: symbol
role_heading: Type Method
path: sensorkit/srabsolutetime/current()
---

# current()

Provides the current absolute time.

## Declaration

```swift
static func current() -> SRAbsoluteTime
```

## Return Value

Return Value The absolute time of the current device.

## Discussion

Discussion Each device has their own absolute time. This function returns the absolute time of the current device.

## See Also

### Defining the Time Range

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