It's perhaps a dummy question... but I don't find my way!
1) When I put the date command in a variable, it is ok and here the code :
WEEK_DAY=`date +%w`
DAY=`date +%Y%m%d`
echo WEEK_DAY : "$WEEK_DAY"
echo DAY : "$DAY"
2) I should to get direct the date and not in a variable, like :
echo "DAY : `date +%Y%m%d`"
But here the result :
trying with sh,ksh and bash... same result!
What's happen? as someone an idea?