减法
返回减去指定时间量的克隆 Day.js 对象。
¥Returns a cloned Day.js object with a specified amount of time subtracted.
dayjs().subtract(7, 'year')
单位不区分大小写,并支持复数和缩写形式。
¥Units are case insensitive, and support plural and short forms.
当小数值传递几天和几周时,它们会在减去之前四舍五入到最接近的整数。
¥When decimal values are passed for days and weeks, they are rounded to the nearest integer before subtracting.