---
title: "init(timeIntervalSinceNow:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nsdate/init(timeintervalsincenow:)"
---

# init(timeIntervalSinceNow:)

Returns a date object initialized relative to the current date and time by a given number of seconds.

## Declaration

```swift
convenience init(timeIntervalSinceNow secs: TimeInterval)
```

## Parameters

- `secs`: The number of seconds from relative to the current date and time to which the receiver should be initialized. A negative value means the returned object will represent a date in the past.

## Return Value

Return Value An NSDate object initialized relative to the current date and time by secs seconds.

## See Also

### Initializing a Date

- [init()](foundation/nsdate/init().md)
- [init(timeIntervalSinceReferenceDate:)](foundation/nsdate/init(timeintervalsincereferencedate:).md)
- [init(timeIntervalSince1970:)](foundation/nsdate/init(timeintervalsince1970:).md)
- [init(coder:)](foundation/nsdate/init(coder:).md)
