# Data Types\Time

---

### [![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/93yimage.png) ](https://simlab-soft.com/help/uploads/images/gallery/2025-09/93yimage.png)Time Interval 

This node calculates the time difference between[![RR5image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/Gakrr5image.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/Gakrr5image.png)

"**Start**", and "**End**" times. It stores the result in

an integer "**Interval**" out put.

###   


---

### [![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/ZqZimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/ZqZimage.png)Update Time

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/FvKimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/FvKimage.png)

This node can be used to store time variables.

#### Example

The example below demonstrates the use of both time nodes above. In it the value of "**inisial\_time**" variable is updated upon Scene Start. Then when "**Box**" geometry is clicked the value of "**current\_time**" variable is updated. Then the "**Time Interval**" node is executed, where "**result**" variable is calculated as difference between both times.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/xvWimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/xvWimage.png)

In the experience the "**result**" variable is connected to[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/NxPimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/NxPimage.png)

a Variable writer to display its value.