XrmTimeSpan.Subtract Method (DateTime)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright