suzzane2020 Posted April 16, 2007 Share Posted April 16, 2007 I get an error when i use the date_diff function??? why Call to undefined function: date_diff() sorry for the rebounce ..there was a typo in my subject Quote Link to comment Share on other sites More sharing options...
suzzane2020 Posted April 16, 2007 Author Share Posted April 16, 2007 i have checked google but can still find date_diff being used.but it does'nt work for me any help wud be appreciated Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted April 16, 2007 Share Posted April 16, 2007 The function date_diff() is not a function that comes with PHP. Someone must have written it. Ken Quote Link to comment Share on other sites More sharing options...
Barand Posted April 16, 2007 Share Posted April 16, 2007 There's a MySQL function SELECT DATEDIFF(date1, date2) .... which returns difference in days between 2 dates Quote Link to comment Share on other sites More sharing options...
suzzane2020 Posted April 16, 2007 Author Share Posted April 16, 2007 oops..thnx.. all this while i thought it was an inbuilt function. Quote Link to comment Share on other sites More sharing options...
suzzane2020 Posted April 16, 2007 Author Share Posted April 16, 2007 oh ok..so tht mite be it. coz i was sure i had come across it smewhere. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.