<?php $now = time(); // or your date as well $your_birth_date = strtotime("2014-06-24"); $datediff = abs($now - $your_birth_date); echo floor($datediff/(60*60*24)); ?>
You have javascript disabled. You will not be able to edit any code.