current carbon time agon code example
Example 1: carbon two day ago
$dt =Carbon::now();
echo $dt->subDay(); // 2012-03-03 00:00:00
echo $dt->subDays(29);
Example 2: current timestamp carbon
Carbon::now()->timestamp
$dt =Carbon::now();
echo $dt->subDay(); // 2012-03-03 00:00:00
echo $dt->subDays(29);
Carbon::now()->timestamp