 primitive type is promoted to an
object by calling the other object&rsquo;s one-argument constructor on it. However, the
one-argument numeric-input consstructor for <code class="code">datetime</code> does not accept datenums:
it interprets its input as datevecs instead. This is due to a design decision on
Matlab&rsquo;s part; for compatibility, Octave does not alter that interface.
</p>
<p>To combine <code class="code">datetime</code>s with datenums, you can convert the datenums to <code class="code">datet