Use the mktime() function. For example, to display the number of seconds until New Years Day 2003, you could do something like this:
<?php
echo (mktime(0,0,0,1,1,2003) - time());
?>
The function prototype for mktime() is:
(int) mktime(int hour, int minute, int second, int month, int day, int year)
Have fun...