title: Set end of day instead of 00:00:00 in laravel
body: <p>When we pass a date value like this <code>2019-01-01</code> without the time <code>10:00:00</code>, the time defaults to <code>00:00:00</code>. So finally the db compatible value gets transformed into this: <code>2019-01-01 00:00:00</code>. How can I force default it to <code>23:59:00</code> instead?</p>
  
  <p>Example: I need to set an <code>expiry_date</code> attribute, but if I only take the date input <code>2019-01-08</code> from user, the user is going to assume that they will have the entire day as expiry date, when in reality it will expire at the very first second of <code>2019-01-08</code> because of the implicit default time <code>00:00:00</code>.</p>
  
  <p>How do I overcome this? How can I set a mutator for <code>expiry_date</code> that would turn this <code>2019-01-01 00:00:00</code> into this <code>2019-01-01 23:59:00</code>?</p>