PHP DateDiff

They have: 82 posts

Joined: Oct 2001

Hey Guys!

I am an ASP guy moving over to PHP.

I need to know how to do the following in PHP:

DateDiff("20040322141554","20040322141554") where I am trying to get the number of minutes or hours between the two dates.

Could someone please help?

Thanks,

Mike

Blessed is the man who fears the LORD, who delights greatly in his commandments. Psalms 112:1

Chroder's picture

He has: 91 posts

Joined: Mar 2004

Perhaps this could help: http://www.devbox.net/view.php?s=3

(This isn't meant to be a plug for my site, I just happened to have that exact thing Laughing out loud)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.