MonobjcMonobjc Documented Class Library
InitWithTimeIntervalSinceReferenceDate Method (seconds)

Returns an NSDate object initialized relative the first instant of 1 January 2001, GMT by a given number of seconds.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithTimeIntervalSinceReferenceDate(
	double seconds
Public Overridable Function InitWithTimeIntervalSinceReferenceDate ( _
	seconds As Double _
) As Id
virtual Id^ InitWithTimeIntervalSinceReferenceDate(
	double seconds
seconds (Double)
The number of seconds to add to the reference date (the first instant of 1 January 2001, GMT). A negative value means the receiver will be earlier than the reference date.
Return Value
An NSDate object initialized relative to the absolute reference date 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)