<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Date/init(timeInterval:since:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation4DateV12timeInterval5sinceACSd_ACtcfc"
  },
  "title" : "init(timeInterval:since:)"
}
-->

# init(timeInterval:since:)

Creates a date value initialized relative to another given date by a given number of seconds.

```
init(timeInterval: TimeInterval, since date: Date)
```

## Parameters

`timeInterval`

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

`date`

The reference date.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)