This documentation is archived and is not being maintained.

DateTime.Subtract Method

Subtracts the specified time or duration from this instance.

Name Description
DateTime.Subtract (DateTime) Subtracts the specified date and time from this instance.

Supported by the .NET Compact Framework.

DateTime.Subtract (TimeSpan) Subtracts the specified duration from this instance.

Supported by the .NET Compact Framework.

Show: