Y
Hacker News
new
|
ask
|
show
|
jobs
by
eis
1211 days ago
That does not get you hourly time slots.
You either want something like
floor(timestamp / 3600)
or
timestamp - timestamp % 3600