---
title: "init(timeInterval:since:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nsdate/init(timeinterval:since:)"
---

# init(timeInterval:since:)

Returns a date object initialized relative to another given date by a given number of seconds.

## Declaration

```swift
convenience init(timeInterval secsToBeAdded: TimeInterval, since date: Date)
```

## Parameters

- `secsToBeAdded`: The number of seconds to add to date. A negative value means the receiver will be earlier than date.
- `date`: The reference date.

## Return Value

Return Value An NSDate object initialized relative to date by secsToBeAdded seconds.
