Hi,
I have this date picker and what i want to do is, how many days, months and years are left from the today's date until the date i chose.
<?php
$secondDate = '2012-08-02'; // date i picked
$currentDate = date('Y-m-d'); //current date
$datechose=explode ('-',$secondDate);
$todaysday=explode ('-',$currentDate);
$daysleft=$datechose[2]-$todaysday[2];
?>
Thank you,
PF2G