Share via


XrmTimeSpan.Subtract Method (DateTime)

 

Applies To: Dynamics CRM 2015

Subtracts the specified XrmTimeSpan from this instance.

Namespace:   Microsoft.Xrm.Sdk.Workflow
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

Syntax

public DateTime Subtract(
    DateTime value
)
public:
DateTime Subtract(
    DateTime value
)
member Subtract : 
        value:DateTime -> DateTime
Public Function Subtract (
    value As Date
) As Date

Parameters

Return Value

Type: System.DateTime

Type: DateTime
The value resulting when the passed value is subtracted from this instance.

See Also

XrmTimeSpan Structure
Microsoft.Xrm.Sdk.Workflow Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright