Is is possible to use datetime2 to calculate the previous month from \today?
(Alternatively another package).
I've found some solutions that use negative deduction of days, but that would cause problems around the end of the month.
Example: \today = 12-JUL-2017
Wanted output: "Today is 12-JUL-2017. Last month was June."


\DTMenglishmonthname{\numexpr\month-1\relax}– touhami Jul 12 '17 at 15:45