Type Alias

NSTimeInterval

A number of seconds.

Declaration

typedef double NSTimeInterval;

Discussion

A NSTimeInterval value is always specified in seconds; it yields sub-millisecond precision over a range of 10,000 years.

On its own, a time interval does not specify a unique point in time, or even a span between specific times. Combining a time interval with one or more known reference points yields a NSDate or NSDateInterval value.

See Also

Date Representations

NSDate

A representation of a specific point in time, independent of any calendar or time zone.

NSDateInterval

An object representing the span of time between a specific start date and end date.