Addition Operator

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds a specified time interval to a specified date and time, yielding a new date and time.

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

static let inline (+)
        d:DateTime * 
        t:TimeSpan  : DateTime

Parameters

d
Type: System..::..DateTime
The date and time value to add.
t
Type: System..::..TimeSpan
The time interval to add.

Return Value

Type: System..::..DateTime
An object that is the sum of the values of d and t.

Show: