How can I turn off Units in DateDifference and similar functions?

Hello everyone

Is there any way to turn off units in DateDifference, so that the answer it returns is a number? Otherwise, the results of DateDifference cannot be used in statements such as

IntervalMemberQ[Interval[{360, 370}], myDateDiff]

without wrapping Interval in Quantity as

Quantity[Interval[{360, 370}],"days"]

It would a pain to have to go back and change a lot of my old scripts.

Regards,

Gregory

The legacy output without units is possible by SetSystemOptions. Please see DateDifference/Possible Issues

Thanks Isaac,

Much obliged.