<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "XCTest",
  "identifier" : "/documentation/XCTest/XCTPerformanceMeasurementTimestamp/init(absoluteTime:date:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "XCTest"
    ],
    "preciseIdentifier" : "c:objc(cs)XCTPerformanceMeasurementTimestamp(im)initWithAbsoluteTime:date:"
  },
  "title" : "init(absoluteTime:date:)"
}
-->

# init(absoluteTime:date:)

Intitializes a timestamp that represents the provided time.

```
init(absoluteTime: UInt64, date: Date)
```

## Parameters

`absoluteTime`

The time, as returned by the <doc://com.apple.documentation/documentation/kernel/1462446-mach_absolute_time> system call.

`date`

The time, represented as a <doc://com.apple.documentation/documentation/Foundation/Date>.

---

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)