I have two dates in format yyyy-mm-dd hh:mm:ss and I want to calculate the number of seconds between the two. In ASP there is a handy function called DateDiff but I can find nothing like it in PHP. I've read the tutorial on here with the PHP DateDiff function but it does not handle the dateformat above. Any help would be appriciated.