Login for each user's longest consecutive days, the interval of two date less than or equal to 3 are considered to be continuous login, such as no. 01-01 login, recently the next login is no. 01-04, the interval of two dates is equal to 3 days, so that the number of days between the two dates as active days, a total of four days,
Perhaps what is feasible ideas? Thank you all for the great god!!!!!