Jump to content

Total number of customers per week


kamal213

Recommended Posts

Hi Guyz,

 

I have a customer statistics page on my PHP customer management system, which give information of how many customers are added on each day using the SQL COUNT(*).

 

I would like to calculate the total number of customers added each week.

 

Please I would really apprectiate your help, ideas and suggestions, let me know if you need to see some code for more info.

 

Thanks alot

Link to comment
https://forums.phpfreaks.com/topic/238549-total-number-of-customers-per-week/
Share on other sites

Could do you know what the %U stands for.

 

I was waiting for that question :)

 

The %U stands for the week number 00-53 (54 weeks in a year) using Sunday as the first day of the week.

 

Full list:

http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-format

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.