I wish to compare two dates - $dateX
(datetime in past) with $currentDatetime
(current datetime). For instance: check if $dateX
was 7 days ago or not. All should happen in Laravel Blade Engine view by using Carbon.
Can you give some example? Thanks!