I have two variables DateTime
, which are DataCadastro and DataAtual(DateTime.Now)
. I need to know if the time difference between these two dates is greater than or equal to 4 hours. Is there a method in the DateTime
class that meets this requirement? Or do I need another alternative?