python from moment import moment current_date = moment.now() next_birthday = moment("2022-05-15") days_until_birthday = next_birthday.diff(current_date, 'days') pip install moment


上一篇:
下一篇:
切换中文