# Subtract(RationalTime, RationalTime)

> Subtracts a RationalTime from another.

## Definition

* **Type:** Method
* **Namespace:** [Unity.IntegerTime](/engine/6000.7/script-reference/unity/integertime.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static RationalTime Subtract(this RationalTime lhs, RationalTime rhs)
```

### Parameters

**** (\[RationalTime]\(/engine/6000.7/script-reference/unity/integertime/rationaltime)): **** (\[RationalTime]\(/engine/6000.7/script-reference/unity/integertime/rationaltime)):&#x20;

### Returns

| Type                                                                              | Description                                                                       |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [RationalTime](/engine/6000.7/script-reference/unity/integertime/rationaltime.md) | A new instance that is the difference between the left operand and the right one. |
