title: Countdown in Laravel
body: <p>I am making a countdown in Laravel with a plugin  , I have the following code with javascript</p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
    $('.clock').countdown('2015/05/25', function(event) {
     $(this).html(event.strftime('%D días %H:%M:%S'));
   });
   &lt;/script&gt;
  </code></pre>
  
  <p>This code works correctly but I need to show the diferents finnishes dates in Laravel </p>
  
  <pre><code>@foreach ($products as $subasta)
      {{ $subasta-&gt;id }}&lt;/p&gt;
      {{ $subasta-&gt;name}}&lt;/p&gt;
      {{ $subasta-&gt;startdate}}&lt;/p&gt;
      {{ $subasta-&gt;duration}}&lt;/p&gt;
      &lt;span class="clock"&gt;&lt;/span&gt;
  @endforeach
  </code></pre>
  
  <p>How could I pass the date with the item startdate to Javascrip countdown ? Because I recieve the same format in database. </p>