# operator ==(DiscreteTime, DiscreteTime)

> Returns true if the time is equal to a given time, false otherwise.

## Definition

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

```csharp
public static bool operator ==(DiscreteTime lhs, DiscreteTime rhs)
```

### Parameters

**** (\[DiscreteTime]\(/engine/6000.5/script-reference/unity/integertime/discretetime)): The left hand side.**** (\[DiscreteTime]\(/engine/6000.5/script-reference/unity/integertime/discretetime)): The right hand side.

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
