How do you get the day out of a Date object since “getDay()” is deprecated?

前端 未结 0 463
暖寄归人
暖寄归人 2021-01-03 11:46

When the user opens my app the date is recorded. Then it\'s compared with the last date that was recorded. I want to be able to tell if just the day changed between the 2. A

相关标签:
回答
  • 消灭零回复
提交回复
热议问题