Year

Return the current year in numeric value

Command:

year

Syntax:

echo year

Example:

echo year
2024

var my_year = year
echo my_myear
2024

var my_year = year
echo 'The current year is {{my_year}}'
The current year is 2024

Last updated