thefollower Posted January 11, 2010 Share Posted January 11, 2010 Hey, I am currently using DATEDIFF() to compare the difference between two timestamps but currently returns total number of days passed so how can i change this to minutes? Hope you can help me. Quote Link to comment https://forums.phpfreaks.com/topic/188012-datediff-return-minutes-passed-isntead-of-days/ Share on other sites More sharing options...
PFMaBiSmAd Posted January 11, 2010 Share Posted January 11, 2010 You would need to use TIMESTAMPDIFF() with the first parameter set to MINUTE Quote Link to comment https://forums.phpfreaks.com/topic/188012-datediff-return-minutes-passed-isntead-of-days/#findComment-992669 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.