I have a database table with user registration records. Table: [USER]
One of my columns is named created_on with type int and holds a timestamp for the registration date and time.
How should I compose my query so I can have the number of registered users for each day?
I want results like this:
21/11 : 150 users
22/11 : 200 users
23/11 : 50 users
24/11 : 150 users
Using
FROM_UNIXTIME()and simple date functions.You can do your string formatting using PHP.