Month from date


Is it possible get “July 2019” from an invoice date? I’m using

{ example | date: “mm yyyy” }

which yields “00 2019”. Is there a %B equivalent?

Thank you.

Your question is not clear. What are you referring to? Where or on what are you trying to obtain “July 2019?”

Sorry. I’m trying to have an invoice print “… for the month of July 2019…” based on the invoice date. This is done via tweaking the theme specific for the sales invoice. Also, to change the date displayed to “19th July 2019,” for example. Is there an easy way that I’ve overlooked?


The date formats available are those under the Preferences tab.

I am not sure, but I think you will have a hard time with your other goal. The month is not a program variable.