MonobjcMonobjc Documented Class Library
InitWithTimeIntervalSince1970 Method (seconds)

Returns an NSDate object set to the given number of seconds from the first instant of 1 January 1970, GMT.

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

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithTimeIntervalSince1970(
	double seconds
Public Overridable Function InitWithTimeIntervalSince1970 ( _
	seconds As Double _
) As Id
virtual Id^ InitWithTimeIntervalSince1970(
	double seconds
seconds (Double)
The number of seconds from the reference date, 1 January 1970, GMT, for the new date. Use a negative argument to specify a date before this date.
Return Value
An NSDate object set to seconds seconds from the reference date.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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