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 Link to comment https://forums.phpfreaks.com/topic/295972-ecommerce-modification/ 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(). Link to comment https://forums.phpfreaks.com/topic/295972-ecommerce-modification/#findComment-1510407 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.