mercredi 28 août 2019

Add days to date in Laravel

I am beginner in Laravel. I use in my project Laravel 5.8.

I have this code:

$userPromotionDays = $user->premiumDate; // 2019.08.28
$daysToAdd = 5

How can I add $userPromotionDays to $daysToAdd (in Laravel/Carbon)?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NEd4vs
via IFTTT

Aucun commentaire:

Enregistrer un commentaire