I know the following is possible to calculate elapsed time:
$time = '3 hours';
//gives you current time - 3 hours
$elapsed = date('Y-m-d H:i:s', strtotime('-' . $time));
I'm just wondering if it's possible to do something similar with dates:
$date = '2003 year 9 month 20 day';
OR $date = '2003-9-20'; if that makes it easier
//current date - $date (return in same format)
$elapsed = ?
I couldn't find a function called strtodate so I can't do this exactly the same as how I did the time.
Thanks
lotsa luv~