I have a date time variable which is scraped from the web (lets call it scrapedTime). Now I want to compare this variable to DateTime.Now and see how many days apart they are.
DateTime.Now - scrapedTime = 5 days
I tried doing it like this^ already but I get an error: “Value of type system.timespan cannot be converted to date”. The thing is I am not even using a system.timespan variable
could someone please let me know how I can do this.