Usage Example

كود:
1$one_date = date("U");
2$two_date = date("U", mktime(0,0,0,4,1,2008));
3echo timeBetween($one_date, $two_date).'';
4// displays "x days, x hours, x minutes, x seconds"