if $date is the variable holing the date. Do the following <?php $timestamp=strtotime($date);//makes a timestamp from the date sting....
Separate names with a comma.