What day of the week are the most questions posted on Stack Overflow?
Suppose I login to Stack Overflow once a week, then what will be best time to face the maximum number of questions?
What day of the week are the most questions posted on Stack Overflow?
Suppose I login to Stack Overflow once a week, then what will be best time to face the maximum number of questions?
For questions asked by day of week (modified from https://data.stackexchange.com/stackoverflow/query/98625/total-posts-created-by-day-of-week:
SELECT DatePart(WEEKDAY, CreationDate), count(Id)
FROM Posts
where posttypeid = 1
GROUP BY DatePart(WEEKDAY, CreationDate)
The raw numbers are:
- -------
1 675616
2 1267739
3 1380187
4 1413296
5 1402309
6 1251770
7 681973
Graph (note the Y axis isn't at 0):
You can see the weekends are by far the lowest.
Time of day shows various humps in the day as different groups get into work or, get back from lunch. From https://data.stackexchange.com/stackoverflow/query/137558/questions-by-timeslice#graph
To get a view of an entire week, I used the following query and some Excel magic to come up with a chart. Now if only I could get rid of those extra X-axis markers...
select
datepart(weekday, CreationDate) as weekday
,datepart(hour, CreationDate) as hour
,count(*) as amount
from
Posts p
where
p.PostTypeId = 1 -- Question
group by
datepart(weekday, CreationDate)
,datepart(hour, CreationDate)
order by
weekday
,hour