I want to check whether the date object Thu Apr 29 2021 01:15:00 GMT+0530 (India Standard Time)
is before or after the current time, that is new Date()
.
I tried the basic <
operator but it doesn't seem to work.
How do I achieve this? Thanks in advance.