Search Results

Search: Posts Made By: edudiogo
52,982
Posted By jim mcnamara
`date -d "+%Y/%m/%d`" +%j There are syntax...
`date -d "+%Y/%m/%d`" +%j

There are syntax errors in this

try

a=`date -d "+%Y/%m/%d" +%j`
# or
a=$(date -d "+%Y/%m/%d" +%j )
echo $a
52,982
Posted By joeyg
may be simpler
why not
date +%j
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 12:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy