ts <span class="op">=</span> <span class="cn">NULL</span><span class="op">)</span></span></code></pre></div>
    </div>

    <div class="section level2">
    <h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
    <dl><dt>x</dt>
<dd><p>A date or datetime. The start date(s)/timestamp(s).</p></dd>


<dt>y</dt>
<dd><p>A date or datetime. The end date(s)/timestamp(s).</p></dd>


<dt>units</dt>
<dd><p>A character. Units of the returned duration
(i.e. 'seconds', 'days', '