Create date - Carbon in Laravel
<p>I'm starting to read about <code>Carbon</code> and can't seem to figure out how to create a <code>carbon date</code>.</p>

<p>In the docs is says you can;</p>

<blockquote>
  <p><code>Carbon::createFromDate($year, $month, $day, $tz);
  Carbon::createFromTime($hour, $minute, $second, $tz);
  Carbon::create($year, $month, $day, $hour, $minute, $second, $tz);</code></p>
</blockquote>

<p>But what if I just recieve a <code>date</code> like <code>2016-01-23</code>? Do I have to strip out each part and feed it to <code>carbon</code> before I can create a <code>carbon</code> date? or maybe I receive <code>time</code> like <code>11:53:20</code>??</p>

<p>I'm dealing with dynamic dates and time and writing code to separate parts of time or date doesn't feel right.</p>

<p>Any help appreciated. </p>