returns a list of new users from the date givin
Returns: Promise.<Array>
- list of returning users on the give day
Author: Jimmy Doughten https://github.com/dough10
Param | Type | Description |
---|---|---|
mongodb | Object |
database connection object |
date | Number |
the date of this month to get user list for |
Example (Example usage of getReturnusers() Functions.)
getReturnUsers(mongodb, 13).then(list => {
// console.log(list); = returning users on the 13th
});