language-toml">[dependencies]
time = &quot;0.1&quot;
</code></pre>
<p>And this in your crate root:</p>

<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">time</span>;</pre></div>
<p>This crate uses the same syntax for format strings as the
<a href="http://man7.org/linux/man-pages/man3/strftime.3.html"><code>strftime()</code></a>
function from the C standard library.</p>
</div><h2 id='structs' class='section-hea