---
title: "Time.op_Subtraction"
url: "https://reference.aspose.com/html/net/aspose.html.drawing/time/op_subtraction/"
product: "Aspose.HTML for .NET API Reference"
description: "Time op_Subtraction method. Implements the operator -"
---

## Time Subtraction operator

Implements the operator -.

```csharp
public static Time operator -(Time a, Time b)
```

| Parameter | Type | Description |
| --- | --- | --- |
| a | Time | The parameter a. |
| b | Time | The parameter b. |

### Return Value

The result of the operator.

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | Arguments are null |
| ArgumentException | Arguments have different types or Arguments have different resolutions or |

### See Also

* class [Time](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
