And? What's wrong? Date format issue I guess?
2017-06-25 01:00:00
should may be something like 2017-06-25T01:00:00
.
But it would be better if you can test it first with Kibana Dev Console and then if it works, try to fix the PHP problem itself.
If it does not work, share the Kibana script.