Contents

dateWithTimeIntervalSinceReferenceDate:

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

Declaration

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

Related Documentation

Creating a Date