---
title: "dateWithTimeIntervalSinceReferenceDate:"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/nsdate/datewithtimeintervalsincereferencedate:"
---

# dateWithTimeIntervalSinceReferenceDate:

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

## Declaration

```occ
+ (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

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

## See Also

### Related Documentation

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

### Creating a Date

- [date](foundation/nsdate/date.md)
- [dateWithTimeIntervalSinceNow:](foundation/nsdate/datewithtimeintervalsincenow:.md)
- [dateWithTimeIntervalSince1970:](foundation/nsdate/datewithtimeintervalsince1970:.md)
