Get the days until a date

This example will work out the amount of days until a given date

<?php
//Christmas 12/25/2008 MM/DD/YYYY
echo ceil((mktime(0,0,0,"12","25","2008") - time()) / 86400) . " days until christmas";
?>