Hello
I’m having table visits:
| date | ip |
| 2005-01-24 15:03:05 | 0.0.0.1 |
| 2005-01-24 15:15:05 | 0.0.0.1 |
| 2005-01-24 15:45:05 | 0.0.0.1 |
| 2005-01-24 15:03:15 | 0.0.0.2 |
| 2005-01-24 15:33:05 | 0.0.0.2 |
I want count how the visits were made. A timeout period of new visit is 30 minutes.

Result will be:
| date | visits |
| 2005-01 | 2 |