Carbon::now()->subMinutes(2) code example Example 1: carbon laravel use <?php use Carbon\Carbon; Example 2: laravel carbon isoformat Carbon::now()->toISOString()