I have a database with different domains and the dates when they were registered and I need to show when they will be expired (1 year registration). For example:
domain1.com - registered 11/19/2012 (mm-dd-yyyy) - expires in 365 days. domain2.com - registered 11/20/2011 (mm-dd-yyyy) - expires in 1 day.
I have been looking for different options and questions (i.e. How to calculate the difference between two dates using PHP?) but they are a little bit different (I don't need years to take into account) and I am not an expert in PHP and dates.
I think that one option could be removing from the total the difference of years (*365) but I will not take into account years of 366.
Thank you in advanced! Regards,
Paul