I'm still newish to PHP, so I'm sure this will be easy, but I need to come up with a way to automatically output the number of years between now and when a company I'm building a website for started (in 1983).
So...I want the output to be something like...
Right now I have the following code, but it's outputting "1969" years instead of the correct "28"...
Any help would be much appreciated.
So...I want the output to be something like...
Rocking the free world for 28 years
Right now I have the following code, but it's outputting "1969" years instead of the correct "28"...
PHP:
<?php echo "Rocking the free world for ".date("Y", strtotime("-1983 years")); ?> years
Any help would be much appreciated.