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

Hour

Return the current hour in numeric value (24 hours format)

Command:

hour

Syntax:

echo hour

Example:

echo hour
17

var my_hour = hour
echo my_hour
22

var my_hour = hour
echo 'The current hour is {{my_hour}}'
The current hour is 22

PreviousYearNextMinute

Last updated 10 months ago