ekeson50 Posted April 30, 2015 Share Posted April 30, 2015 how do i calculate and limit the number of months a user signed up for in my ecommerce website Quote Link to comment Share on other sites More sharing options...
cyberRobot Posted April 30, 2015 Share Posted April 30, 2015 Have you looked into MySQL's date and time functions: http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html Perhaps you could use something like DATEDIFF() or PERIOD_DIFF(). 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.