Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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);
?>
 
PREVIOUS NEXT
Tagged: #Find #years #php #years
ADD COMMENT
Topic
Name
5+4 =