Zirkul DevSecOps
  • Welcome
  • DevSecOps
    • Getting started
    • Creating Jobs
    • Running Jobs
    • Azure DevOps Pipelines
    • Jenkins Pipelines
    • Job Script Syntax
    • Script templates
  • Zirkul Agent
    • Running the Agent
      • Command Line Interface
    • Command reference
      • Help
      • Clear
      • Var
      • Vars
      • Print
      • Date
      • Now
      • UTCNow
      • Day
      • Month
      • Year
      • Hour
      • Minute
      • Second
      • Env
      • Is base64
      • To base64
      • From base64
    • Scanner signatures
Powered by GitBook
On this page
  1. Zirkul Agent
  2. Command reference

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

PreviousMonthNextHour

Last updated 10 months ago