Answers for "blade get current year"

PHP
1

get year in laravel 8

{{ now()->year }}
Posted by: Guest on December-03-2020
1

importing current year in laravel blade

{{ date('Y') }}
Posted by: Guest on August-20-2021

Browse Popular Code Answers by Language