# Duration

* Duration
* std::time::Duration

* We can use the Duration type to represent a span of time.

* [std::time::Duration](https://doc.rust-lang.org/std/time/struct.Duration.html)

{% embed include file="src/examples/datetime/duration/src/main.rs" %}
{% embed include file="src/examples/datetime/duration/out.out" %}


