MonobjcMonobjc Documented Class Library
InitWithTimeIntervalSinceNow Method (seconds)
NamespacesMonobjc.FoundationNSDateInitWithTimeIntervalSinceNow(Double)

Returns an NSDate object initialized relative to the current date and time by a given number of seconds.

Original signature is '- (id)initWithTimeIntervalSinceNow:(NSTimeInterval)seconds'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithTimeIntervalSinceNow(
	double seconds
)
Public Overridable Function InitWithTimeIntervalSinceNow ( _
	seconds As Double _
) As Id
public:
virtual Id^ InitWithTimeIntervalSinceNow(
	double seconds
)
Parameters
seconds (Double)
The number of seconds from relative to the current date and time to which the receiver should be initialized. A negative value means the returned object will represent a date in the past.
Return Value
An NSDate object initialized relative to the current date and time by seconds seconds.
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)