Answers for "Find out how many years there are in php between years"

PHP
1

Find out how many years there are in php between years

<?php
    $today = strtotime("2011-02-03 00:00:00");
    $myBirthDate = strtotime("1964-10-30 00:00:00");
    printf("Days since my birthday: ", ($today - $myBirthDate)/60/60/24);
?>
Posted by: Guest on April-19-2022

Code answers related to "Find out how many years there are in php between years"

Browse Popular Code Answers by Language