MonobjcMonobjc Documented Class Library
DateWithTimeIntervalSinceNow Method (seconds)
NamespacesMonobjc.FoundationNSDateDateWithTimeIntervalSinceNow(Double)

Creates and returns an NSDate object set to a given number of seconds from the current date and time.

Original signature is '+ (id)dateWithTimeIntervalSinceNow:(NSTimeInterval)seconds'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSDate DateWithTimeIntervalSinceNow(
	double seconds
)
Public Shared Function DateWithTimeIntervalSinceNow ( _
	seconds As Double _
) As NSDate
public:
static NSDate^ DateWithTimeIntervalSinceNow(
	double seconds
)
Parameters
seconds (Double)
The number of seconds from the current date and time for the new date. Use a negative value to specify a date before the current date.
Return Value
An NSDate object set to seconds seconds from the current date and time.
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)