DateTime::Addition Operator
Silverlight
Adds a specified time interval to a specified date and time, yielding a new date and time.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Parameters
- d
- Type: System::DateTime
The first object to add.
- t
- Type: System::TimeSpan
The second object to add.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The resulting DateTime is earlier than DateTime::MinValue or later than DateTime::MaxValue. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: