Get Current Month in mendix

0
How can I get a current month in mendix and also store as a String variable?
asked
1 answers
1

See documentation here: https://docs.mendix.com/refguide7/parse-and-format-date-function-calls/

and here: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

Use the current date time token to parse to month. So if you want the full name of a month as string use:

formatDateTime([%CurrentDateTime%] , ‘MMMM’)

Regards,

Ronald

 

answered