Get number of week day in carbon

Posted 5 months ago by SkyCoder

If I can get number of week day like this:

$time = time();

$day_as_number = date('N', $time);

How can I do that with Carbon::now() ?

Please sign in or create an account to participate in this conversation.