month=`date +%m`
case $month in
0?) month=${month##0} ;;
esac

lm=`date +%Y$month`

or if you are using GNU date

date +%Y%-m