---
title: "init(absoluteTime:date:)"
framework: xctest
role: symbol
role_heading: Initializer
path: "xctest/xctperformancemeasurementtimestamp/init(absolutetime:date:)"
---

# init(absoluteTime:date:)

Intitializes a timestamp that represents the provided time.

## Declaration

```swift
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.

## See Also

### Initializers

- [init()](xctest/xctperformancemeasurementtimestamp/init().md)
