title: How to set dates, n number of days apart
body: <p>I currently have code that sets all current reminders (4), as the same date. How do I set these 87 days apart.</p>
  
  <pre><code>foreach ($request-&gt;pets as $pet) {
    $clientPet = $client-&gt;pets()-&gt;find($pet)-&gt;first();
    $clientPet-&gt;name = $pet['name'];
    $clientPet-&gt;treated_at = $pet['treatedAt'];
  
    $clientPet-&gt;save();
  
    foreach($clientPet-&gt;reminders as $reminders)
    {
  
      $reminders-&gt;scheduled_at   = Carbon::createFromFormat('Y-m-d', $clientPet-&gt;treated_at)-&gt;addWeeks(12)-&gt;subDays(3);
      $reminders-&gt;product_id     = $pet['productId'];
      $reminders-&gt;application_id = $pet['applicationId'];
  
      $reminders-&gt;save();
    }
  
  }
  </code></pre>