title: How to check if a Carbon date object is at the start of day?
body: <p>I'm using <a href="http://carbon.nesbot.com/" rel="noreferrer">Carbon</a> to manipulate dates I retrieved from my MySQL database. I have dates like the following:</p>
  
  <ul>
  <li><code>2017-07-19 00:00:00</code></li>
  <li><code>2017-06-26 15:27:57</code></li>
  </ul>
  
  <p>As you can see, the first is the start of a day. When displaying dates like that, I would like to omit the time part. I know I can use a different format for each one. For example:</p>
  
  <ul>
  <li><code>F d Y</code> for dates without time.</li>
  <li><code>F d Y g:ia</code> for dates with time.</li>
  </ul>
  
  <p>What I couldn't accomplish is a simple way to check if a date has a time part to apply one format or the other. Must I use individual getters to check the hour, minute and second?</p>