Contents

dateWithTimeIntervalSinceNow:

Creates and returns a date object set to a given number of seconds from the current date and time.

Declaration

+ (instancetype) dateWithTimeIntervalSinceNow:(NSTimeInterval) secs;

Parameters

  • secs:

    The number of seconds from the current date and time for the new date. Use a negative value to specify a date before the current date.

Return Value

An NSDate object set to secs seconds from the current date and time.

See Also

Related Documentation

Creating a Date