CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums


Adds the specified number of seconds to the value of this instance.

Namespace: ?System
Assembly: ?mscorlib (in mscorlib.dll)

Syntax

Visual Basic (Declaration)
Public Function AddSeconds ( _
	value As Double _
) As DateTime
C#
public DateTime AddSeconds(
	double value
)
Visual C++
public:
DateTime AddSeconds(
	double value
)
JavaScript
function addSeconds(value);

Parameters

value
Type: System..::.Double
A number of whole and fractional seconds. The value parameter can be negative or positive.

Return Value

A DateTime whose value is the sum of the date and time represented by this instance and the number of seconds represented by value.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeExceptionThe resulting DateTime is less than MinValue or greater than MaxValue.

See Also



Free Download:
 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT