I have formatted date that looks like this;
date('l, F jS, Y', $data['expiry']))
$date['expiry'] displays something like this;
Tuesday, December 4th, 2007
However, instead i would like to show something like this;
Remaining Duration: 311 days 22 hours 51 minutes 48 seconds or along these lines.
$data['expiry'] is in format 1196787507 before it formatted.
I know i have to take todays date and subtract it from 1196787507 but im not sure how i should work with this for the conversion.
Thank you.