Pavlin24 Posted April 30, 2014 Share Posted April 30, 2014 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 More sharing options...
justsomeguy Posted April 30, 2014 Share Posted April 30, 2014 Maybe your version of PHP is too old. Link to comment Share on other sites More sharing options...
Pavlin24 Posted May 1, 2014 Author Share Posted May 1, 2014 Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now