---
title: recentAccessDate()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/iobluetoothdevice/recentaccessdate()
---

# recentAccessDate()

Returns the date/time of the most recent access of the target device.

## Declaration

```swift
func recentAccessDate() -> Date!
```

## Return Value

Return Value Returns the date/time of the most recent access of the target device. If the device has not been accessed, nil is returned.

## Discussion

Discussion This is the date that -recentDevices uses to sort its list of the most recently accessed devices. NOTE: This method is only available in macOS 10.2.4 (Bluetooth v1.1) or later.
