MonobjcMonobjc Documented Class Library
TimeIntervalSinceDate Method (anotherDate)
NamespacesMonobjc.FoundationNSDateTimeIntervalSinceDate(NSDate)

Returns the interval between the receiver and another given date.

Original signature is '- (NSTimeInterval)timeIntervalSinceDate:(NSDate *)anotherDate'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual double TimeIntervalSinceDate(
	NSDate anotherDate
)
Public Overridable Function TimeIntervalSinceDate ( _
	anotherDate As NSDate _
) As Double
public:
virtual double TimeIntervalSinceDate(
	NSDate^ anotherDate
)
Parameters
anotherDate (NSDate)
The date with which to compare the receiver.
Return Value
The interval between the receiver and anotherDate. If the receiver is earlier than anotherDate, the return value is negative.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)