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

# init(date:complicationTemplate:timelineAnimationGroup:)

Creates and returns a timeline entry with the specified information.

## Declaration

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

## Parameters

- `date`: The time at which to display the complication data.
- `complicationTemplate`: The complication template containing the data to display. Specify a template that’s appropriate for the complication family.
- `timelineAnimationGroup`: The animation group with which to associate the entry. For more information about how this value is used, see doc://com.apple.clockkit/documentation/ClockKit/CLKComplicationTimelineEntry/timelineAnimationGroup.

## 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.

## See Also

### Creating a Timeline Entry

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