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
Last updated 5 months ago