out =
minus (A, B)
¶Subtraction (-
operator). Subtracts a duration
,
calendarDuration
or numeric B from a datetime
A,
or subtracts two datetime
s from each other.
If both inputs are datetime
, then the output is a duration
.
Otherwise, the output is a datetime
.
Numeric B inputs are implicitly converted to duration
using
duration.ofDays
.
Returns an array the same size as A.