<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetooth",
  "identifier" : "/documentation/IOBluetooth/IOBluetoothDevice/getLastServicesUpdate()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "IOBluetooth"
    ],
    "preciseIdentifier" : "c:objc(cs)IOBluetoothDevice(im)getLastServicesUpdate"
  },
  "title" : "getLastServicesUpdate()"
}
-->

# getLastServicesUpdate()

Get the date/time of the last SDP query.

```
func getLastServicesUpdate() -> Date!
```

## Return Value

Returns the date/time of the last SDP query. If an SDP query has never been performed on the device, nil is returned.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)