This works in linux:
$ date --date="last month" +%b
Mar

In OpenBSD i tried
# MonthCurrent=`date +%m`
# MonthPrevious=`expr $MonthCur - 1`
# echo $MonthPrevious
3

But I need month's abbreviation.

Reply via email to