I have this
$nr_sec = time();
$days_rem = $end_date - $nr_sec;
$days_rem = $days_rem/(24*60*60);
echo $days_rem;
and I get something like 358.69438657407.
I want the result to be only 358.
How can I do this?
I have this
$nr_sec = time();
$days_rem = $end_date - $nr_sec;
$days_rem = $days_rem/(24*60*60);
echo $days_rem;
and I get something like 358.69438657407.
I want the result to be only 358.
How can I do this?
Thank you Joe.