When working with dates and times, we use awesome Carbon class, right? And there's a lot of small things in it which we might not even know. I will give you one example today.
True story: I had to write the IF-statement in the code which would say "if day of week is Saturday". Of course, it's easy:
if ($dt->dayOfWeek == ...
And then my brain went "But wait. What number is Saturday? Should be 6? Or 5, since the whole array is from 0 to 6? Oh come on..."
Then I went to Carbon docs and found out that you don't have to remember such things - there are constants for that!
if ($dt->dayOfWeek == Carbon::SATURDAY) // ... do some Saturday magic