---
title: "init(absoluteDate:)"
framework: eventkit
role: symbol
role_heading: Initializer
path: "eventkit/ekalarm/init(absolutedate:)"
---

# init(absoluteDate:)

Creates and returns an alarm with an absolute date.

## Declaration

```swift
init(absoluteDate date: Date)
```

## Parameters

- `date`: The date for the alarm.

## Return Value

Return Value The created alarm.

## See Also

### Related Documentation

- [Calendar and Reminders Programming Guide](apple-archive/documentation/DataManagement/Conceptual/EventKitProgGuide/Introduction.md)

### Creating an Alarm

- [init(relativeOffset:)](eventkit/ekalarm/init(relativeoffset:).md)
