How to calculate how much time is left until a date?
Hello! There are two dates in format (today and the end date of the tariff): date("d.m.Y H:i:s")
How to calculate how much time is left before the end of the tariff - months, days, hours, minutes. And then to check if exactly a month to do a certain action. Thanks in advance for any answers!