date_diff function name changed to date_diff for php5.3 compatibility.