Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
181 B
3
Indexable
Never
<?php


$date1=date_create("1981-11-04");


$date2=date_create("2013-09-04");


$diff=date_diff($date1,$date2);

echo $diff->format('%R%y years %m months %d days');

?>