Easy way to display month and year ? #28
Answered
by
joshtorres
KhairulAzmi21
asked this question in
Q&A
-
its there easier way to display current month and year ? right now i doing like this which I think dumb . <div class="text-2xl font-semibold">{{ $monthGrid[1][7]->format('M Y') }}</div> |
Beta Was this translation helpful? Give feedback.
Answered by
joshtorres
Apr 1, 2024
Replies: 1 comment 1 reply
-
We've done it like this in the past |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
joshtorres
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We've done it like this in the past
<div>{{ $startsAt->englishMonth }} {{ $startsAt->year }}</div>