-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
大佬时间不对 #7
Comments
月份要减的吧 |
不太懂这算法,我填入2017年5月1日,距离今天2017年7月1日的计时却是是30天 |
没,你仔细看说明,月份应该减1的。拿你这个例子来说,要计算2017年5月1号到7月1号的时间差的话,起始月份应该要减1,应该是2017年(5-1)月1号 |
月日十分秒都是从0开始 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
设置了时间,但是自动计时还是不对
The text was updated successfully, but these errors were encountered: