How To Compare Dates of failed reports from database and from Website's latest Updated Date

Hi,

I have to pull the reports from Website everyday morning. I have pre-logic created for the bot and now have to change as website layout changed.

Previous : Check the reports for the previous 3 days. IF not available then Website Shows Text line "Report Not available " and It updates to the Database as Satatus “Failed” . If available it updates success to the DB.

New Bot : they don’t shows text line if report not available. They showing below line only.
image
Now, I get it that in variable as Date .

Question is : How can I compare to database 's Date . EX: As Per Today’s date Bot will check the reports for 04,03,02 Day’s reports and let’s say I’ve got status as Failed , Failed, Failed. But I can download 02,03 dates reports only as Text Line says "Reports updated through 03.

Can someone help here ? Let me know if any other detail required.

Thank You

Can someone help me here ? Thank you in advanced.