ArtisanTinkerer.github.io

Blog

View on GitHub

Just some Carbon revision.

$current = Carbon::now(); // date and time

$today = Carbon::today(); //just day



Lots of ways to manipulate.

Getters

$test = Carbon::now();

$test->year;
$test->month;
$test->dayOfWeek;
//etc