How can I check if two different date objects have the same date information(having same day, month, year …)? I have tried "==", "===" and .equals but none seems to work.
How can I check if two different date objects have the same date information(having
Share
You can use
valueOf()orgetTime():