Horje
current year bash Code Example
current year bash
date +"%Y"
date +"%y"
 
## Store to a shell variable ##
mydate=$(date +'%Y')
myyear=`date +'%Y'`
echo "Year = $mydate"
echo "Year = $myyear"




Shell

Related
how to recover from git stash Code Example how to recover from git stash Code Example
update cypress Code Example update cypress Code Example
yarn 2 outdated packages Code Example yarn 2 outdated packages Code Example
install cypress Code Example install cypress Code Example
how to install npx Code Example how to install npx Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11