How to convert date to UTC midnight using PHP
<p>i tried to pass date to hubspot.But it shows following error message
[message] => 1462127400 is at 22:8:47.400 UTC, not midnight!</p>

<p>how to convert date to UTC midnight format using PHP</p>