ss='kw'>tfinal</span><span class='kw'>=</span><span class='st'>'2023-03-05'</span>,<span class='kw'>tinitial</span><span class='kw'>=</span><span class='st'>'2019-02-28'</span>,<span class='kw'>leapDatesIn</span><span class='kw'>=</span><span class='fl'>TRUE</span>)</div><div class='output co'>#&gt; [1] 1466</div><div class='input'><span class='fu'>difftime_leap_year</span>(<span class='kw'>tfinal</span><span class='kw'>=</span><span class='fu'><a href='https://rdrr.io/r/base/as.Date.html'>as.Date</a></span