MonobjcMonobjc Documented Class Library
DateWithTimeIntervalSinceDate Method (seconds, date)
NamespacesMonobjc.FoundationNSDateDateWithTimeIntervalSinceDate(Double, NSDate)

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

Original signature is '+ (id)dateWithTimeInterval:(NSTimeInterval)seconds sinceDate:(NSDate *)date'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSDate DateWithTimeIntervalSinceDate(
	double seconds,
	NSDate date
Public Shared Function DateWithTimeIntervalSinceDate ( _
	seconds As Double, _
	date As NSDate _
) As NSDate
static NSDate^ DateWithTimeIntervalSinceDate(
	double seconds, 
	NSDate^ date
seconds (Double)
The number of seconds to add to date. Use a negative argument to specify a date and time before date.
date (NSDate)
The date.
Return Value
An NSDate object set to seconds seconds from date.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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