Hi , Can any one give me what is the date format for 3 character Month all caps (MON)
when I do date +%b it will give me Sep
But I want this to be SEP (all caps) .
Thanks in advance
Hi , Can any one give me what is the date format for 3 character Month all caps (MON)
when I do date +%b it will give me Sep
But I want this to be SEP (all caps) .
Thanks in advance
mymonth=`echo $(date +%b) | tr '[a-z]' '[A-Z]'`;echo $mymonth
or
echo $(date +%b) | tr '[a-z]' '[A-Z]'