I'm new to angular and I need some help in datetime conversion.
My datetime in string is Sat, 30 Apr 2022 00:00:00 GMT
but I want to compare this date (only Sat, 30 Apr 2022
) with current date.
How do I fetch only date and convert it to datatime format in GMT and compare it with the current date?