We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
月份差是以固定30天的步进作为计算,这与excel的DATEDIF函数计算结果不一致.
The text was updated successfully, but these errors were encountered:
The issue body's language is not English, translate it automatically, please use English next time. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The monthly difference is calculated in a fixed 30-day step, which is inconsistent with the calculation results of excel's DATEDIF function.
Sorry, something went wrong.
fmt.Println(carbon.CreateFromDate(2023, 10, 26).DiffAbsInMonths(carbon.CreateFromDate(2023, 12, 25))) // 2
WPS:
=DATEDIF("2023/10/26","2023/12/25","m") //1
2.2.1升级到2.2.11输出一致
The output from 2.2.1 upgraded to 2.2.11 is consistent.
No branches or pull requests
月份差是以固定30天的步进作为计算,这与excel的DATEDIF函数计算结果不一致.
The text was updated successfully, but these errors were encountered: