-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
关于时间的问题 #29
Comments
我和我的女朋友是2018年6月3日开始在一起的。结果我把时间更改了之后就成了负数。然后我就开始找里面的另外一个时间。。结果没找到 |
@2020654600 js 计数是从0开始的,也就是说你们2018.6.3认识的话,你的代码应该是together.setFullYear(2018, 5, 3); |
@ljy19930131 刚刚更改了一下,确定没问题了 |
1 similar comment
@ljy19930131 刚刚更改了一下,确定没问题了 |
JavaScript的月份是从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: