Skip to content
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

兄弟你这个获取本月和本周的最后一天和第一天的函数不对,我这里重新写了,要不要传给你 #3

Open
ChYuanJinlin opened this issue Sep 4, 2020 · 6 comments

Comments

@ChYuanJinlin
Copy link

No description provided.

@ChYuanJinlin
Copy link
Author

ChYuanJinlin commented Sep 4, 2020

date.txt

@ChYuanJinlin
Copy link
Author

记得修改呀

@XmanLin
Copy link
Owner

XmanLin commented Sep 7, 2020

No description provided.

好的,感谢指出,后面我会加上

@XmanLin
Copy link
Owner

XmanLin commented Sep 7, 2020

记得修改呀

我验证了一下,我们的函数应该都是对的,只是获取的时间点不一样,例如你的获取本月最后一天这个函数,你获取的最后一天的当前时间,我获取的是最后一天的0点

@ChYuanJinlin
Copy link
Author

你那个函数好像不是固定获取从这个月第一天的时间,和最后一天的时间,是从当前时间获取到想要的时间的,我这个是固定的
是从这个月就获取第一天的时间,和最后一天时间

@ChYuanJinlin
Copy link
Author

我新增了几个你上面没有的函数,你觉得可以,也可以写在这上面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants