Jump to content

date_diff () - problem


Pavlin24

Recommended Posts

Hello. I try to find the the difference between two dates in months.

I use this code:

 

$diff=date_diff($date2_row[0],$cur_date);

 

This is error message:

 

Fatal error: Call to undefined function date_diff()

 

 

Can anybody help me to find the reason for this.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...