<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSDate/dateWithTimeIntervalSinceReferenceDate:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSDate(cm)dateWithTimeIntervalSinceReferenceDate:"
  },
  "title" : "dateWithTimeIntervalSinceReferenceDate:"
}
-->

# dateWithTimeIntervalSinceReferenceDate:

Creates and returns a date object set to a given number of seconds from 00:00:00 UTC on 1 January 2001.

```
+ (instancetype) dateWithTimeIntervalSinceReferenceDate:(NSTimeInterval) ti;
```

## Parameters

`ti`

The number of seconds from the absolute reference date (00:00:00 UTC on 1 January 2001) for the new date. Use a negative argument to specify a date and time before the reference date.

## Return Value

An `NSDate` object set to `ti` seconds from the absolute reference date.

## See Also

[`init(timeIntervalSinceReferenceDate: TimeInterval)`](/documentation/Foundation/NSDate/init(timeIntervalSinceReferenceDate:))

Returns a date object initialized relative to 00:00:00 UTC on 1 January 2001 by a given number of seconds.



---

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)