---
title: "init(date:complicationTemplate:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtimelineentry/init(date:complicationtemplate:)"
---

# init(date:complicationTemplate:)

Creates and returns a timeline entry with the specified date and complication data.

## Declaration

```swift
convenience init(date: Date, complicationTemplate: CLKComplicationTemplate)
```

## Parameters

- `date`: The time at which to display the complication data.
- `complicationTemplate`: The complication template containing the data to display. The template must belong to the family of the associated complication.

## Return Value

Return Value A timeline entry initialized with the specified data.

## Discussion

Discussion Use this method to create new timeline entries. You can change the values of the timeline entry later by modifying the properties of the returned object. This method sets the value of the timelineAnimationGroup property to nil.

## See Also

### Creating a Timeline Entry

- [init(date:complicationTemplate:timelineAnimationGroup:)](clockkit/clkcomplicationtimelineentry/init(date:complicationtemplate:timelineanimationgroup:).md)
