When playing with a date type, I was wondering why subtraction always returns days, how can I make it return minutes (or seconds, etc.), which may be possible in the second example
>> 24-dec-2016 - now
== 82
>> 24-dec-2016/0:00 - now
== 82
- is it just arbitrary or can I influence what comes back? I tried a little with refinement, but would be grateful for pushing in the direction, rebole / red path.
Perhaps there is a more significant thing under this question: what is the “rule” of what returns subtraction, common sense, some discussion and agreement, or is it determined only by those who implement it? (e.g., the result of subtraction: 1.1.1.1 - 1, 200x200 - 100...)
source
share